note 91270 added to function.imap-fetchstructure
| From: | granek at dung dot de | Date: | Wed, 03 Jun 2009 09:48:46 +0000 |
| Subject: | note 91270 added to function.imap-fetchstructure | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-156308@lists.php.net to get a copy of this message | ||
Our Software using this function for reading emails, i got one problem with an email an was
searching ... so the problem was this line in the header
Content-Type: multipart/mixed; boundary="=_mailb-1388-1243947625-0001-2"
=?ISO-8859-1?Q?Name?= <email@domain.org>
imap-fetchstructure detectedt an boundary like this
...
["parameters"]=>
array(1) {
[0]=>
object(stdClass)#8 (2) {
["attribute"]=>
string(8) "boundary"
["value"]=>
string(102) "=_mailb-1388-1243947625-0001-2=?ISO-8859-1?Q?Name?="
}
}
...
I resolved the problem in adding an ';' after the boundary.
This isn't a good resulution, but it worked in this case. My Question is, why doesn't
imap_fetchstructre watch out for the quotes?
Outlook, Thunderbird etc. can handel this "strange" header.
Greeding form Germany
----
Server IP: 217.13.201.10
Probable Submitter: 81.173.203.14
----
Manual Page -- http://www.php.net/manual/en/function.imap-fetchstructure.php
Edit -- https://master.php.net/note/edit/91270
Del: integrated -- https://master.php.net/note/delete/91270/integrated
Del: useless -- https://master.php.net/note/delete/91270/useless
Del: bad code -- https://master.php.net/note/delete/91270/bad+code
Del: spam -- https://master.php.net/note/delete/91270/spam
Del: non-english -- https://master.php.net/note/delete/91270/non-english
Del: in docs -- https://master.php.net/note/delete/91270/in+docs
Del: other reasons-- https://master.php.net/note/delete/91270
Reject -- https://master.php.net/note/reject/91270
Search -- https://master.php.net/manage/user-notes.php