mail()===false but msg is sent!
| From: | Andy Pieters | Date: | Sat, 02 Jul 2005 22:11:28 +0000 |
| Subject: | mail()===false but msg is sent! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-218029@lists.php.net to get a copy of this message | ||
Hi all
I have this situation where mail() returns a false status but the message is
actually accepted AND reaches destination!
The PHP Version is 4.3.10, the OS Linux
So what I do is (
$header="header for multipart mime message";
$body="body with multipart mime message";
$result=mail("Name Firstname <$address>","Subject",$message,$header);
echo ($result?"ok":"bogus");
So anyone got any ideas?
With kind regards
Andy
--
Registered Linux User Number 379093
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
under the GPL2 and that are meant for use with a
php cli binary:
http://www.vlaamse-kern.com/sas/
--
--
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]