#31496 [NEW]: body output of mail() adds eroneous characters breaking output
From: cessner at centrosus dot com
Operating system: Fedora Core
PHP version: 4.3.10
PHP Bug Type: Mail related
Bug description: body output of mail() adds eroneous characters breaking output
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> </
td><td><span class="main">Version</span></td><td>NA</
td></tr><tr><td> </td><td><span
class="main">Build</span></td><td>NA</td></
tr><tr><td> </td><td> </td><td> </td></
tr><tr><td> </td><td><span class="main">Document
tr>!
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 bug report at http://bugs.php.net/?id=31496&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31496&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31496&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31496&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31496&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31496&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31496&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31496&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31496&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31496&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31496&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31496&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31496&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31496&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31496&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31496&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31496&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31496&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31496&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31496&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31496&r=mysqlcfg
Thread (19 messages)
- cessner at centrosus dot com
- tony2001@php.net#31496 [Opn->Fbk]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Fbk->Opn]: body output of mail() adds eroneous characters breaking output
- jed@php.net#31496 [Opn]: body output of mail() adds eroneous characters breaking output
- jed@php.net#31496 [Opn]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Opn]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Opn]: body output of mail() adds eroneous characters breaking output
- sniper@php.net#31496 [Opn->Fbk]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Fbk->Opn]: body output of mail() adds eroneous characters breaking output
- sniper@php.net#31496 [Opn->Fbk]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Fbk->Opn]: body output of mail() adds eroneous characters breaking output
- sniper@php.net#31496 [Opn->Fbk]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Fbk->Opn]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Opn]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Opn]: body output of mail() adds eroneous characters breaking output
- hholzgra@php.net#31496 [Opn]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Opn]: body output of mail() adds eroneous characters breaking output
- sniper@php.net#31496 [Opn->Bgs]: body output of mail() adds eroneous characters breaking output
- cessner at centrosus dot com#31496 [Bgs]: body output of mail() adds eroneous characters breaking output