ID: 25333
Comment by: iqcmial at freemail dot hu
Reported By: ap at d-dt dot de
Status: Open
Bug Type: Mail related
Operating System: Windows XP
PHP Version: 4.3.3
New Comment:
By me the problem is the same.
Some characters are missing in my incoming mail (that has base64
encoded data) so I get incorrect pictures in my Outlook Express.
At small base64 data files the problem does not exist, but at larger
files i get differences (at bytes 813,1837, ...)
I use PHP 4.3.3 (Win), earlier I used PHP 4.3.2 (Win).
Previous Comments:
------------------------------------------------------------------------
[2003-08-31 16:45:10] ap at d-dt dot de
Description:
------------
As of PHP 4.3.3 (Win) my mail class sends e-mails, which single
stripped characters. The same code worked with 4.3.2 (Win)
Used mailserver is Sendmail 8.12.6 on separate FreeBSD 5.1
Sending the message head and -body to stdout or apache produces a
correct Output, only the incoming results differs from the expected.
Reproduce code:
---------------
mail ($addressee, 'Subj: '.phpversion(),
chunk_split(base64_encode(file_get_contents('Images/numbers.zip'))),
$mime->head());
where $mime->head() are the MIME Headers. Two variants tested: using
CRLF and singe LF ("\r\n", "\n")
Expected result:
----------------
Incoming mail by 4.3.3 (incorrect, missing char in line 2: sequence is
.."Z8B5".., should by .."Z8HB5".. )...
6AZ0QAQoLzBw/GPw5JDx2LDgYDOHsFbMjAIWDj5xjZgHDEksh1tkNWwSNjg0
HmflkQthKJz4oIObx2ZVzMuLB9smqdh5vDixaVkTq6iTwZ8B5b59wu6aMgo
Jqa2cMuVTOI4mOjky82lu8HnRKMqMx+H9ZIYyalPmZeyal7hSWR0cmeXZWta
...
Incoming mail by 4.3.2
6AZ0QAQoLzBw/GPw5JDx2LDgYDOHsFbMjAIWDj5xjZgHDEksh1tkNWwSNjg0
HmflkQthKJz4oIObx2ZVzMuLB9smqdh5vDixaVkTq6iTwZ8HB5b59wu6aMgo
Jqa2cMuVTOI4mOjky82lu8HnRKMqMx+H9ZIYyalPmZeyal7hSWR0cmeXZWta
..
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25333&edit=1