ID:               31496
 User updated by:  cessner at centrosus dot com
 Reported By:      cessner at centrosus dot com
 Status:           Open
 Bug Type:         Mail related
 Operating System: Fedora Core
 PHP Version:      4.3.10
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2005-01-12 18:49:21] cessner at centrosus dot com

changed:

$headers .= "From: Christian Essner 
<[EMAIL PROTECTED]>\r\n"; 

to

$headers .= "From: Christian Essner 
<[EMAIL PROTECTED]>\r";

no change.

-Christian

Are you able to reproduce the problem?

------------------------------------------------------------------------

[2005-01-12 05:49:47] [EMAIL PROTECTED]

I'm sorry, try dropping the trailing \n. I'm going to sleep.

------------------------------------------------------------------------

[2005-01-12 05:47:44] [EMAIL PROTECTED]

$headers .= "From: Christian Essner <[EMAIL PROTECTED]>\n"; 

Should be:

$headers .= "From: Christian Essner <[EMAIL PROTECTED]>\r\n"; 

I just caught that as I was passing through.

------------------------------------------------------------------------

[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

------------------------------------------------------------------------

[2005-01-11 21:15:22] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.



------------------------------------------------------------------------

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

Reply via email to