RE: [PHP] just wondering ....

From: Date: Sun, 18 Mar 2001 15:52:50 +0000
Subject: RE: [PHP] just wondering ....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44479@lists.php.net to get a copy of this message
<snip> On Mon, 19 Mar 2001 01:34, Peter Houchin wrote: > What am going to try & do is get it so mail() returns true then run > this script else do this > > Peter Like most functions in PHP, mail() returns a value - boolean according to the manual. So you could do something like $mail = mail(values); if ($mail){ do this } else { error } But as has been pointed out above, a return of TRUE only means that mail() has handed the data off to something else, which something else may or may not succeed in sending the message. -- David Robley | WEBMASTER & Mail List Admin Thanks every one for your help :) Peter

« previous php.general (#44479) next »