note 101588 added to function.mail

From: Date: Tue, 28 Dec 2010 11:54:10 +0000
Subject: note 101588 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-175273@lists.php.net to get a copy of this message
If mail() encounters an error, it just returns false. To find why, we need to discover where the sendmail command put its error. On Linux, this is usually /var/log/messages. The mail errors don't end up in /var/log/httpd/errors (because apache doesn't know that /usr/sbin/sendmail returning false is an error), nor in /var/log/mail/ (because the email never got as far as postfix, and no SMTP/delivery error occurred.) ---- Server IP: 92.48.74.199 Probable Submitter: 87.127.101.241 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/101588 Del: integrated -- https://master.php.net/note/delete/101588/integrated Del: useless -- https://master.php.net/note/delete/101588/useless Del: bad code -- https://master.php.net/note/delete/101588/bad+code Del: spam -- https://master.php.net/note/delete/101588/spam Del: non-english -- https://master.php.net/note/delete/101588/non-english Del: in docs -- https://master.php.net/note/delete/101588/in+docs Del: other reasons-- https://master.php.net/note/delete/101588 Reject -- https://master.php.net/note/reject/101588 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175273) next »