#31496 [Bgs]: body output of mail() adds eroneous characters breaking output
| From: | cessner at centrosus dot com | Date: | Thu, 17 Feb 2005 22:09:18 +0000 |
| Subject: | #31496 [Bgs]: body output of mail() adds eroneous characters breaking output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74249@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: Bogus
Bug Type: Mail related
Operating System: Fedora Core
PHP Version: 4CVS, 5CVS (2005-01-18)
New Comment:
What environment did you test it in?
Previous Comments:
------------------------------------------------------------------------
[2005-02-17 02:44:43] sniper@php.net
It's something wrong with your system, this works just fine for me.
------------------------------------------------------------------------
[2005-01-20 01:43:22] cessner at centrosus dot com
Well can someone else test it? The code is in the link
on this bug page. That would be a good place to start.
-Christian
------------------------------------------------------------------------
[2005-01-20 01:10:53] hholzgra@php.net
Are you sure that this happens in PHP already and not within
your mail transport agent?
All that mail() does on UNIX is to pipe the message headers
and body into the local sendmail binary, most issues with
mangled email headers and content happen *after* PHP
has already passed it on to the MTA
------------------------------------------------------------------------
[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 01:31:31] cessner at centrosus dot com
Here is the code:
http://www.centrosus.com/mail/code.html
You may enter your email address here and have the html
result sent to your email and check the source yourself
when you receive the email.
http://www.centrosus.com/mail/enter_email.html
-Christian
------------------------------------------------------------------------
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