note 71019 deleted from function.mail by nlopess

From: Date: Wed, 08 Nov 2006 22:53:45 +0000
Subject: note 71019 deleted from function.mail by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-119523@lists.php.net to get a copy of this message
Note Submitter: Peter W ---- I just moved from sendmail to qmail and it took ages to work out why the formatting was wrong. It looks like it is because imap_8bit puts a carriage-return-linefeed combination at the end of each line. The solution is to do something like: $HTMLmessage=str_replace("=\r\n", "=\n", imap_8bit($HTMLmessage)); I don't know if this will still work with sendmail?

« previous php.notes (#119523) next »