Re: Mail() Not working right
| From: | Steve Yates | Date: | Fri, 13 Dec 2002 05:04:09 +0000 |
| Subject: | Re: Mail() Not working right | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128116@lists.php.net to get a copy of this message | ||
"Tom Culpepper" <tom@onthei.com> wrote in message
news:3DF8EAD4.2070705@onthei.com...
> while I get no PHP errors the mail is never sent.
> mail("tom@onthei.com", "testing 1234", "this is a test message");
I don't think this shows an error if it doesn't work. Try
$mailsuccess = mail(...);
if (!$mailsuccess) {
echo "oops";
}
- Steve Yates
- How often should we practice sex before it is safe?
~ Taglines by Taglinator - www.srtware.com ~