note 84894 added to function.imap-mime-header-decode

From: Date: Mon, 04 Aug 2008 16:25:43 +0000
Subject: note 84894 added to function.imap-mime-header-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-143141@lists.php.net to get a copy of this message
Beware of multilined subjects containing whitespaces which are not part of the subject itself, but needed as functional characters for the clients. i.e. you can have a mail header containing content like Subject: =?iso-8859-1?Q?WG=3A_Mobilit=E4t_verschlechtert_--=3E_174?= =?iso-8859-1?Q?6?= (carriage return and tabspace). imap_mime_header_decode returns 5 parts (and not expected 2) for this example. - The first containing the space between "subject:" and the subject itself. - The second is the first encoded text - The third will be the line-break within the head lines. The were inserted to keep rfc compliant line length and are NOT part of the original subject entered by the sender. - The fourth will be the second part of the subject. - The fifth is a line break - the last character will be a line break any time other head lines or mailbody will follow, so it's needed in the head - but not part of the original subject. ---- Server IP: 69.147.83.197 Probable Submitter: 213.209.121.3 ---- Manual Page -- http://www.php.net/manual/en/function.imap-mime-header-decode.php Edit -- https://master.php.net/note/edit/84894 Del: integrated -- https://master.php.net/note/delete/84894/integrated Del: useless -- https://master.php.net/note/delete/84894/useless Del: bad code -- https://master.php.net/note/delete/84894/bad+code Del: spam -- https://master.php.net/note/delete/84894/spam Del: non-english -- https://master.php.net/note/delete/84894/non-english Del: in docs -- https://master.php.net/note/delete/84894/in+docs Del: other reasons-- https://master.php.net/note/delete/84894 Reject -- https://master.php.net/note/reject/84894 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143141) next »