newsletter_drip_send.php - how to adjust option values
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
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
Setup->Configuration->Feature Options…in the Newsletter section.
Thanks for the response.
I only have Page Text and Title in the Newsletter settings.
Cheers
Ade
I only have Page Text and Title in the Newsletter settings.
Cheers
Ade
You have to access from the configuration options in Admin Zone:
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.
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
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
Ah Chris, just seen your response!
Cheers
Ade
Cheers
Ade
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…
and change setting…
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');
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
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
1 guest and 0 members have recently viewed this.
