Fetch
Fetch copied to clipboard
An IMAP library for PHP
This can be merged to the master, I tested it and it works flawlessly for encoding detection.
I found a bug on "processStructure" in the class Message Some charsets are not declared with caps, which can lead to improper check by the function in_array on mb_list_encodings()... This...
Full description is in #206. TL;DR: encoding from boundary can be in different case than `mb_list_encodings()` output.
Such messages body is presented as `???` chars, instead of real chars. But subject is decoded as it should and have no problem. Here is message original: https://gist.github.com/b1rdex/387473a0d4f54e0c060388a7d876a31a
Helpful in case of corrupted attachment properties. Minor hotfix. What we recently found is that when autoresend from gmail to yandex -- someone "kills" filename property of attachments. It becomes...
I think the API would be more consistent if $message->getAttachments() would always return an array, even if their might be no files attached. What do you think? Is it worth...
Guys, i ran into a problem fetching attachments. Solved it.
If you want to fetch every messages from your mailbox, if there are thousand of emails, this method call **litterally explodes PHP memory**. We should be able to divide in...
Needs PECL mailparse >= 0.9.0 (tested with mailparse 2.1.6 on PHP 5.3) What's uuencoded attachments: https://msdn.microsoft.com/en-us/library/office/aa579638(v=exchg.140).aspx
An email with an embedded email can have the following structure: 1: "text/plain" 2: "message/rfc822" 2: "multipart/mixed" 2.1: "text/plain" 2.2: "application/octet-stream" 2.3, "application/octet-stream" Before this fix this structure was parsed...