note 20081 deleted from function.mail by philip

From: Date: Thu, 04 Jul 2002 23:56:12 +0000
Subject: note 20081 deleted from function.mail by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-32611@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

« previous php.notes (#32611) next »