-
-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get raw message #161
Comments
I added the following to public function getRAW() {
return imap_fetchbody(
$this->stream,
$this->messageNumber,
null,
\FT_PEEK
);
} seems to work and it's pretty fast. @Slamdunk, would this help with the tracking down of problems? I can PR it in. It's a tiny change (right now I'm using it to DL all the email) |
Yes: can you add test and creare a PR? |
Looks like it'll need a few. Already seeing this in logs...
|
I'm beginning to worry that a lot of my problems are with my mail host... |
Does this get the entire message body including attachments? It looks a bit like it is. |
Implemented in #146 |
Hello, I didn't find any way to get the raw message output, can you add it?
It's easy, you just omit the
$section
parameter ofimap_fetchbody()
and it fetches the whole raw e-mail.The text was updated successfully, but these errors were encountered: