mail:: very weird behaviour!

From: Date: Mon, 04 Jul 2005 00:01:01 +0000
Subject: mail:: very weird behaviour!
Groups: php.general 
Request: Send a blank email to php-general+get-218061@lists.php.net to get a copy of this message
Hi all So I constructed the mail message with attachements and all, and when I echo the contents to the screen, I get the entire message as intended. But when the message is actually sent, it is NOT received the same! In one test, the base64 part contains different text from what I actually put in. However, if I put that same data inside the body (so I can compare), that data is transfered correctly. In another test, the behaviour explained above, is extended by some other text dissapearing (namely some boundary) The error log doesn't say a-thing! my mail command is: mail("$toname <$to>",$subject,$body,$header); If I do echo "$header<br>$body"; right before the mail command, and copy and paste that into kmail, it is a valid email message with all the parts I made. So where does it go wrong... please speake quickly before I have no more hair! 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]
« previous php.general (#218061) next »