#31496 [Fbk->Opn]: body output of mail() adds eroneous characters breaking output

From: Date: Mon, 17 Jan 2005 18:42:13 +0000
Subject: #31496 [Fbk->Opn]: body output of mail() adds eroneous characters breaking output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72316@lists.php.net to get a copy of this message
ID: 31496 User updated by: cessner at centrosus dot com Reported By: cessner at centrosus dot com -Status: Feedback +Status: Open Bug Type: Mail related Operating System: Fedora Core PHP Version: 4.3.10 New Comment: Tried latest CVS. Still broken. PHP Version 4.3.11-dev -Christian Previous Comments: ------------------------------------------------------------------------ [2005-01-17 18:28:15] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2005-01-13 18:51:55] cessner at centrosus dot com removed \r but I don't think these tips are relevant to the core problem.... No change. -Christian ------------------------------------------------------------------------ [2005-01-13 04:25:17] sniper@php.net Drop also \r from the same place.. ------------------------------------------------------------------------ [2005-01-12 19:38:37] cessner at centrosus dot com I think I found the problem. There seems to be a limit for the message body in html and potentially text output as well at 2040 characters for mail(). I ran a few tests using different forms and different input and the "!" is added always as the 2041st character. -Christian ------------------------------------------------------------------------ [2005-01-12 18:49:21] cessner at centrosus dot com changed: $headers .= "From: Christian Essner <cessner@centrosus.com>\r\n"; to $headers .= "From: Christian Essner <cessner@centrosus.com>\r"; no change. -Christian Are you able to reproduce the problem? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31496 -- Edit this bug report at http://bugs.php.net/?id=31496&edit=1

« previous php.bugs (#72316) next »