Hi Guys,
Would anyone be willing to send me their batch file for sending emails
from a mail queue stored in a database?
TIA,
Tom
Tom Haskins-Vaughan wrote:
> So, I think I've got it going ok, but I'm getting the following notices
> for each time I loop thought my mail action:
>
> PHP Notice
So, I think I've got it going ok, but I'm getting the following notices
for each time I loop thought my mail action:
PHP Notice: Undefined index: REQUEST_URI in
/usr/share/pear/symfony/request/sfWebRequest.class.php on line 382
PHP Notice: Undefined index: REQUEST_URI in
/usr/share/pear/sy
> But surely a batch script shouldn't
Well, the batch script can definitely be accessing code which accesses
session logic.
I see your point though... reading the original message more
carefully :)
>>> sfContext::getInstance()->getLogger()->info('Number of emails
>>> ='.count($queuedMail
Thanks, Piers. But surely a batch script shouldn't have access to the
session?
Piers Warmers wrote:
> Hi Tom,
>
> I think you will find that the issue is php from the cli won't have
> any session abilities... thus the warnings.
>
> One solution, if the warning are driving you nuts, is to sup
Hi Tom,
I think you will find that the issue is php from the cli won't have
any session abilities... thus the warnings.
One solution, if the warning are driving you nuts, is to suppress them
for selected method calls - eg:
@sfContext::getInstance()->getLogger...
That will suppress