Re: mail() doesn't work

From: Date: Sun, 14 Sep 2014 00:20:17 +0000
Subject: Re: mail() doesn't work
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-323852@lists.php.net to get a copy of this message
On 9/13/2014 1:26 PM, richard gray wrote:
On 13/09/2014 17:59, Jim Giner wrote:
On 9/13/2014 12:34 PM, Ken Robinson wrote:
Do you have shell access to your host? Ken
No I do not
http://php.net/exec ... are you allowed to run shell commands from PHP? HTH Rich I should mention that as part of my debugging I had added some code to fake the email trigger and do the same task from a browser with fake email input from an array I created in it. The script then echos out progress statements thru the whole process and that triggers the final email and it does get received. But turn the 'fake' switch off and let a real email trigger it and it does all it is supposed to do but the final mail does not get delivered. It's almost like this one script does not have permission to send a mail. There is nothing monumentally odd here - it just reads stdin for the email line by line, look for certain info and post a mysql db and then send an email to let me know if ran successfully (or not).


« previous php.general (#323852) next »