Comments (5)
I see mention of it here but it doesn't appear to work. We also ran into a need for this function today.
from fetch.
I've been holding off on diving into the HHVM stuff for this particular project until they manage to make the imap extension a bit more stable over there. At the moment it's got quite a few issues.
from fetch.
The imap_rfc822_parse_headers() function is broken anyway, as it ignores custom headers.
Run $message->getRawheaders() and parse the headers with a regexp instead.
Like:
preg_match_all('/([^: ]+): (.+?(?:\r\n\s(?:.+?))*)\r\n/m', $headers, $matches)
$headers = array_combine($matches[1], $matches[2]);
from fetch.
You want to make a pull request? You'll get all sorts of points if you get this working on HHVM.
from fetch.
It would break compat as it would return an array instead of an object, but we could typecast it to (object) I guess
from fetch.
Related Issues (20)
- Unseen messages HOT 1
- Allow get raw unparsed message (with all headers and body) HOT 1
- getMessages() should allow pagination, not only limit
- I'm having problems with koi8-r encoded messages HOT 3
- two issues found and corrected HOT 1
- Fetching More than 100 Email, Response is very slow.
- An empty file in the attachment generates false instead of the whole Message
- Call to undefined function Fetch\imap_num_msg() HOT 1
- Invalid cert on site HOT 2
- What happened to the channel?
- Insecure default connection flags
- Change setFileName() method from protected to public
- oAuth authentication HOT 4
- Open Shared Inbox HOT 2
- Unable to add multiple flags HOT 1
- Moving message between 2 IMAP accounts HOT 1
- IMAP TLS on 143 with Plain Auth
- ErrorException: imap_savebody(): stream filter (convert.base64-decode): invalid byte sequence HOT 1
- Question about versioning on the Packagist. HOT 2
- attachment - only from the email body HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fetch.