Jump to content

Sending Mail works fine if accessed via browser but not cron?


Recommended Posts

Hello. I have a php file which i can run via the broswer no problem and i recieve the email correctly and via the correct settings.

 

So i set it up as a scheduled task in windows but i get this error:

mailerrorhf9.jpg

w656.png

 

Any idea why i'm getting this? Is it looking at a different php.ini?

 

I'm running:

Windows Vista

WAMP Web Server

It's coming across a PHP file earlier in the PATH file than the PHP binary is.  (Or, if you're running it using a path, it's not finding the PHP one at all.)  Try either updating the PHP inis in your path, or make sure the only PHP file it will read is the one you want it to read.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.