|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-27 16:27 UTC] pollita@php.net
[2003-01-28 03:27 UTC] webmaster at a-display dot net
[2003-01-28 03:32 UTC] derick@php.net
[2003-01-28 05:10 UTC] webmaster at a-display dot net
[2003-01-28 05:33 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 09:00:02 2025 UTC |
We use a small php script to sent multipart/mime mails with text/html and pics included in the same mail. People are reading these mails mostly with Outlook Express. Outlook Express seems to require some mime sections separated by \r\n\r\n, and maybe other mail readers need it too (no test made for now). but since 4.3.0 a part of code in the win32\sendmail.c file replaces every double \r\n by a single one. I don't know why these changes have been done, but please disable them or give us a way to disable this feature by the php.ini file, without having to change and compile the whole project (we don't have a C compiler) ************************************************** Code mentioned above. ************************************************** /* This pattern removes \r\n from the start of the string, * \r\n from the end of the string and also makes sure every line * is only wrapped with a single \r\n (thus reduces multiple * occurences of \r\n between lines to a single \r\n) */ #define PHP_WIN32_MAIL_RMVDBL_PATTERN "/^\r\n|(\r\n)+$/m" #define PHP_WIN32_MAIL_RMVDBL_REPLACE ""