note 91270 rejected from function.imap-fetchstructure by thiago
| From: | thiago@php.net | Date: | Wed, 03 Jun 2009 12:19:34 +0000 |
| Subject: | note 91270 rejected from function.imap-fetchstructure by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156315@lists.php.net to get a copy of this message | ||
Note Submitter: granek at dung dot de
----
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