Re: Problem with mail()

From: Date: Thu, 17 Jun 2004 16:59:39 +0000
Subject: Re: Problem with mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188504@lists.php.net to get a copy of this message
Keith Aldridge wrote:
New to php, can't see the problem with mail(). <snip>
<?php if (mail($to, $subj, $body)) {
            echo ("Successful send");
} else {
            echo ("Failed");
} ?>
Please don't send email to a mailing list asking for read reciepts. Can the box that you're testing this script on send mail outside of localhost? -- John C. Nichel KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#188504) next »