newsletter_drip_send.php - how to adjust option values

Post

Posted
Rating:
#6106 (In Topic #1473)
Avatar
Standard member
Lhasadreams is in the usergroup ‘Community saint’
Hi,

I would like to decrease the minutes between sends and increase the mails per send for sending out Newsletters.

Looking in newsletter_drip_send.php I can see the options:

$minutes_between_sends = intval(get_option('minutes_between_sends'));
$mails_per_send = intval(get_option('mails_per_send'));

However I just cannot see where the values are being fetched from, I assummed the database, but I cannot find those values.

Any pointers please?

Cheers
Ade
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Chris Graham)
#6107
Avatar
Standard member
treedood is in the usergroup ‘Fan in action’
Setup->Configuration->Feature Options…in the Newsletter section.
Online now: No Back to the top

Post

Posted
Rating:
#6108
Avatar
Standard member
Lhasadreams is in the usergroup ‘Community saint’
Thanks for the response.
I only have Page Text and Title in the Newsletter settings.

Cheers
Ade
Online now: No Back to the top

Post

Posted
Rating:
#6109
Avatar
Standard member
treedood is in the usergroup ‘Fan in action’
You have to access from the configuration options in Admin Zone:

newsletter.PNG
Online now: No Back to the top

Post

Posted
Rating:
#6110
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Ade is on a weird v9 fork that has aspects of v10, so this is likely where the issue lies. Maybe even the option doesn't properly exist, I'll have to check.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#6111
Avatar
Standard member
Lhasadreams is in the usergroup ‘Community saint’
If only!
We are using an old Version of Ocportal and they are not exposed in ours.
Ok, thanks for the pointer, I will continue to look

Cheers
Ade
Online now: No Back to the top

Post

Posted
Rating:
#6112
Avatar
Standard member
Lhasadreams is in the usergroup ‘Community saint’
Ah Chris, just seen your response!

Cheers
Ade
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Lhasadreams)
#6113
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

Looking on your site, I see the actual code you have is doing get_value not get_option. I'm guessing you were referring to a different v10 test installation, or viewing on GitLab.

get_value options are hidden, and need to be set from OcCLE.

E.g to see current setting…

Code

:echo get_value('minutes_between_sends');
and change setting…

Code

:set_value('minutes_between_sends', '10');


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#6117
Avatar
Standard member
Lhasadreams is in the usergroup ‘Community saint’
Thanks Chris.

Our current settings were 1 minute between sends and 100 emails in a send.

I did increase it to 200 in a send, but then that did not happen every minute as it appears that it was still sending the other 100.

I took about 24 hours to send 30,760 emails to all our users.

I always hoped that I could reduce that send time - will dig into the code a little more.

As always, thanks for your help.

Cheers
Ade
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Paul D, ManojSree, Vaiva, gabriel58

Forum statistics: Birthdays:
Back to Top