Re: mail() doesn't work
| From: | richard gray | Date: | Sun, 14 Sep 2014 01:46:48 +0000 |
| Subject: | Re: mail() doesn't work | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323855@lists.php.net to get a copy of this message | ||
On 14/09/2014 02:20, Jim Giner wrote:
On 9/13/2014 9:11 PM, richard gray wrote:sorry for the misunderstanding...I do not know of what you speak. I only have a hoster - no php on my laptop. Hmm I am confused here - I was under the impression that sending mails from your shared host was failing silently... if that is true then Ken suggested you execute a manual mail command with verbosity switched to maximum to see if any errors occur when the message is sent to the MTA (eg sendmail/exim/postfix) on the server.. Ken stated that you would need shell access to do that and you then replied to say that you did not have any shell access so I then suggested running a shell command from a PHP script to execute his diagnostics test - that was all... I didn't mention your laptop so I am unclear why you think that is involved...??Sorry for not being clear ...can you run shell commands from PHP -- that would allow you to execute Ken's diagnostics suggestion below:-mail -vvv -s "test mail" to_address_goes_here < /dev/null