note 53671 added to function.mail

From: Date: Wed, 08 Jun 2005 18:57:53 +0000
Subject: note 53671 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-90137@lists.php.net to get a copy of this message
mail() errors.. If the mail doesn't send, does anyone know how to get any useful error messages out of mail().. My script iterates through an array of email addresses and then sends the same email to all addresses. All addresses are valid, but it refuses to send mail to any except the first address.. Of course, all I get out of the useful mail() command is the return value of FALSE, which is about as much use as an ashtray on a motorcycle.. Any ideas? ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+53671 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53671&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53671&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53671&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53671&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53671&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+53671&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#90137) next »