note 20081 added to function.mail

From: Date: Thu, 21 Mar 2002 19:18:48 +0000
Subject: note 20081 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-28045@lists.php.net to get a copy of this message
Don't think "mail" returns a true or false value. Just tried this small pgm to test it: <? $ret_val=mail("test@example.com", "Subject", "Message"); echo $ret_val; ?> It returned a 1 instead of true or false though the mail was sent successfully. So please beware. :-| The email id used above is dummy ..used some other id to test it in my pgm. Good Luck, Rohit -- http://www.php.net/manual/en/function.mail.php http://master.php.net/manage/user-notes.php?action=edit+20081 http://master.php.net/manage/user-notes.php?action=delete+20081 http://master.php.net/manage/user-notes.php?action=reject+20081

« previous php.notes (#28045) next »