#13044 [Com]: unexpected characters in mail
| From: | wehaveagig at hotmail dot com | Date: | Fri, 22 Apr 2005 06:46:24 +0000 |
| Subject: | #13044 [Com]: unexpected characters in mail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78044@lists.php.net to get a copy of this message | ||
ID: 13044
Comment by: wehaveagig at hotmail dot com
Reported By: michalprv at poland dot com
Status: No Feedback
Bug Type: Mail related
Operating System: linux
PHP Version: 4.0.6
New Comment:
I'm a web developer and I've been experiencing a very similar problem.
Infact, it almost identical to the problem reported in Bug #31496 (I
would have added my comment there, but I couldn't do so because it was
listed as "Bogus").
But in my case, the problem is INTERMITTENT, where the garbage
exclamation point character ! will appear in different places in a
given message. (If it occurs at all). Sometimes the messages will be
prefectly fine. Other times, I'll get an exclamation point somewhere in
the body of the message. And other times, there will be several
exclamation points in a given message.
I strongly suspected the Zend Optimizer causing these bugs, as it tries
to look ahead, it may be invoking the mail/sendmail program inproperly
or before the message has finished being fully formed.
Please respond with any opinions on that theory. Thanks
Steve
Previous Comments:
------------------------------------------------------------------------
[2002-04-19 00:00:06] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-03-18 11:03:46] mfischer@php.net
I'ld suggest to try with a newer PHP version anyway.
------------------------------------------------------------------------
[2002-03-18 10:57:24] derick@php.net
Works fine for me... what mail program do you use?
Derick
------------------------------------------------------------------------
[2002-03-18 10:50:15] beteulgeuseNOSPAM at hotmail dot com
hello,
got this bug on
linux debian 2.2.17 potato
php 4.0.1pl2
more info about the number of characters.
990 characters is fine,
991 is bad, and "!\n" appears on the 990 position.
good luck :-)
------------------------------------------------------------------------
[2001-08-29 16:12:09] michalprv at poland dot com
$sql = "Long line:
123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890123456789012345678901234568901234567890";
mail($address, $subject, $sql);
In this case the mail function isn't working properly. When the string
line ist too long, unexpected characters are inserted (this is "!/n")
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=13044&edit=1