[PHP] Re: mail()===false but msg is sent!

2005-07-02 Thread Manuel Lemos
Hello, on 07/02/2005 07:11 PM Andy Pieters said the following: > 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 multipa

[PHP] Re: mail()===false but msg is sent!

2005-07-02 Thread Jasper Bryant-Greene
Andy Pieters wrote: 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"); Well, firstly your subject does not match what you're doing. PHP is w