#24663 [Opn->Ver]: Message with "\n.\n" is being truncated

From: Date: Wed, 16 Jul 2003 03:51:56 +0000
Subject: #24663 [Opn->Ver]: Message with "\n.\n" is being truncated
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-44083@lists.php.net to get a copy of this message
ID: 24663 Updated by: sniper@php.net 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

« previous php.bugs (#44083) next »