I just spent an hour to find documentation on the usage of $g_email_send_using_cronjob, but failed miserably.
I want to set it to ON, but could not find a procedure to run within the cronjob.
Pointers to explanations welcome. Thanks.
/gerold
How to use $g_email_send_using_cronjob
Moderators: Developer, Contributor
Re: How to use $g_email_send_using_cronjob
You need to call core/send_emails.php in your cronjob
Re: How to use $g_email_send_using_cronjob
That was exactly it.
Thanks very much,
/Gerold
Thanks very much,
/Gerold
-
- Posts: 1
- Joined: 29 Nov 2012, 04:01
Re: How to use $g_email_send_using_cronjob
I have mail working but as soon as I add $g_email_send_using_cronjob = ON; I stop getting email.
I also ran in dos window php send_emails.php but didn't get email.
I got the following
Sending emails...
Done.
I also have in php.ini - sendmail_path = "D:/wamp/sendmail/sendmail.exe -bd -t -q1m"
I also tried sendmail.exe with different parameters at the end.
do I need to add sendmail.exe as a scheduled job?
Windows 2008 server , Apache 2.2.22, php 5.3.13, mysql 5.5.24 - using gmail for now as smtp host.
I also ran in dos window php send_emails.php but didn't get email.
I got the following
Sending emails...
Done.
I also have in php.ini - sendmail_path = "D:/wamp/sendmail/sendmail.exe -bd -t -q1m"
I also tried sendmail.exe with different parameters at the end.
do I need to add sendmail.exe as a scheduled job?
Windows 2008 server , Apache 2.2.22, php 5.3.13, mysql 5.5.24 - using gmail for now as smtp host.