ID: 25333 Comment by: ahs5sp at aol dot com Reported By: ap at d-dt dot de Status: Closed Bug Type: Mail related Operating System: win32 only PHP Version: 4.3.4-dev, 5.0.0b2-dev New Comment:
It appears in the window environment server 2003 IIS, that version 4.3.3 of PHP deletes every 1024 character from the outgoing email. We are testing version 4.3.6 to confirm that it is fixed in this version. Previous Comments: ------------------------------------------------------------------------ [2003-11-20 20:29:30] jdpohl at comcast dot net php 4.3.2 (ISP=ImageLinkUSA) RedHat Linux $f = file_get_contents($pdf_file); $e = chunk_split(base64_encode($f)); $d = base64_decode($e); $c = strcmp($f,$d); $c is 1 Shouldn't the strings $f and $d be equal? This appears to be the root of a problem with php 4.3.2 file attachments sent to outlook xp. ------------------------------------------------------------------------ [2003-09-08 18:36:36] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2003-09-02 10:54:52] ap at d-dt dot de Yes, sometimes it also crashed with my code when I'd used it via the command-line (php.exe, the cli-Version does not always produces the crash), but it worked with php_mod. I think it depends whether I have a null-messagebody or null-Subject. (There were some situations where it crashes and the "null-situation" was at least one of them) ------------------------------------------------------------------------ [2003-09-02 09:37:51] [EMAIL PROTECTED] See also bug #25357 ------------------------------------------------------------------------ [2003-09-01 17:47:55] [EMAIL PROTECTED] For me (and like said in bug #25346) PHP crashed while I tried to reproduce this. ------------------------------------------------------------------------ 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/25333 -- Edit this bug report at http://bugs.php.net/?id=25333&edit=1