ID: 24663 Updated by: [EMAIL PROTECTED] Reported By: faraco dot phpbugs at mailnull dot com -Status: Open +Status: Verified Bug Type: Mail related -Operating System: Windows NT4 SP6 +Operating System: win32 only -PHP Version: 4.3.2 +PHP Version: 4.3.3RC2-dev, 5.0.0b2-dev New Comment:
Works with Linux, does not work with win32. Previous Comments: ------------------------------------------------------------------------ [2003-07-15 07:05:03] faraco dot phpbugs at mailnull dot com Description: ------------ When a string with the character sequence "\n.\n" is passed to the message argument of mail() function, the result email is truncated just before the sequence. Reproduce code: --------------- <? $message = "Text before dot\n.\nText after dot"; mail($to, $subject, $message); ?> Expected result: ---------------- An email like this: -------------------------------------- Text before dot . Text after dot -------------------------------------- Actual result: -------------- An email like this: -------------------------------------- Text before dot -------------------------------------- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24663&edit=1