ID:               31496
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cessner at centrosus dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Mail related
 Operating System: Fedora Core
 PHP Version:      4CVS, 5CVS (2005-01-18)
 New Comment:

Does it happen if you run the script with PHP CLI binary?
(as I can not reproduce this with it..)



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

[2005-01-17 19:42:12] cessner at centrosus dot com

Tried latest CVS. Still broken.

PHP Version 4.3.11-dev

-Christian

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

[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

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

[2005-01-11 20:36:32] cessner at centrosus dot com

Description:
------------
After asking users to input data into a form an email is 
sent with a summary of the form to people that need the 
information. For some reason the source gets corrupted 
and PHP adds  an "!" in random areas in the body. Note 
the "!" below. This was reproducible in 4.3.9 as well 
and an upgrade did not solve the problem

Feature</span></td><td>NA</td></tr><tr><td>&nbsp;</
td><td><span class="main">Version</span></td><td>NA</
td></tr><tr><td>&nbsp;</td><td><span 
class="main">Build</span></td><td>NA</td></
tr><tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></
tr><tr><td>&nbsp;</td><td><span class="main">Document !
 Name</sp
an></td><td>test</td></tr><tr><td>

Reproduce code:
---------------
I think you need to have a message body with a lot of characters in
order to reproduce. I am using a style sheet as well built into the
html page that is sent.

Expected result:
----------------
clean html output to be displayed in the email client.

Actual result:
--------------
broken html output. The above source looks like this:

Total Failures
< span class="main">Total Untested 
Overall Status 
 
Where the html is now exposed to the page because of 
broken tags.


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


-- 
Edit this bug report at http://bugs.php.net/?id=31496&edit=1

Reply via email to