newsletter_drip_send.php - how to adjust option values
Posted
#5601
(In Topic #1147)
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
Posted
I only have Page Text and Title in the Newsletter settings.
Cheers
Ade
Posted
Posted
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
Posted
Cheers
Ade
Posted
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');
Code
:set_value('minutes_between_sends', '10');
Posted
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
0 guests and 0 members have recently viewed this.