Re: mail() doesn't work

From: Date: Sun, 14 Sep 2014 13:01:12 +0000
Subject: Re: mail() doesn't work
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-323858@lists.php.net to get a copy of this message
On 9/13/2014 9:46 PM, richard gray wrote:
On 14/09/2014 02:20, Jim Giner wrote:
On 9/13/2014 9:11 PM, richard gray wrote:
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
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 the misunderstanding... Again - I do not understand anything you are talking about here. I don't know what a 'shell cmd' is. I don't know how to execute a 'manual mail' command.


« previous php.general (#323858) next »