Skip to content
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

Add function to fetch and clear imap errors #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

drallan
Copy link

@drallan drallan commented May 10, 2016

I was getting a lot of errors when fetching emails : Notice: Unknown: Warning: MIME header encountered in non-MIME message (errflg=3) in Unknown on line 0
The error message is emitted when you call imap_close(), or, in that function's absence, when the script ends. Call imap_errors() before that (to clear the error stack).

http://stackoverflow.com/questions/3378469/how-to-get-rid-of-error-messages-with-phps-imap-fetchstructure

call popServer->getImapErrors() to clear the error list

@drallan
Copy link
Author

drallan commented May 10, 2016

Seems to be a problem with the tests?
RuntimeException: Connection failed to 127.0.0.1,143: Connection refused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants