note 104380 added to function.imap-8bit

From: Date: Sun, 12 Jun 2011 16:57:11 +0000
Subject: note 104380 added to function.imap-8bit
Groups: php.notes 
Request: Send a blank email to php-notes+get-180454@lists.php.net to get a copy of this message
There is a bug in MS Exchange server, that improperly handles CRLFs. Seems like it converts both CR and LF into LF, so, instead of getting just a new line, you get TWO new lines. The header information is then improperly parsed by the e-mail client, and is usually viewed in the message body. This can make custom-created headers unusable. The only way I found to get around this is to go against RFC rules for header formatting, and use only \n for new lines. Unfortunately I haven't been able to learn the version of Exchange server where this happened, but I have the feeling that it's not just the one I was unlucky to encounter. Hope this helps someone. ---- Server IP: 69.147.83.197 Probable Submitter: 217.194.163.139 ---- Manual Page -- http://www.php.net/manual/en/function.imap-8bit.php Edit -- https://master.php.net/note/edit/104380 Del: integrated -- https://master.php.net/note/delete/104380/integrated Del: useless -- https://master.php.net/note/delete/104380/useless Del: bad code -- https://master.php.net/note/delete/104380/bad+code Del: spam -- https://master.php.net/note/delete/104380/spam Del: non-english -- https://master.php.net/note/delete/104380/non-english Del: in docs -- https://master.php.net/note/delete/104380/in+docs Del: other reasons-- https://master.php.net/note/delete/104380 Reject -- https://master.php.net/note/reject/104380 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#180454) next »