Clearing Error Stack to Remove Notices on error reporting
How come you don't call imap_errors() on your thrown exception instead of imap_last_error()?
I had an issue with notices being thrown because that doesn't clear the error stack like imap_errors() does. I hope i didn't miss something, what do you think?
To be honest, I haven't thought about that at all, since I was cleaning up and improving Kastang's code, and was mostly focused on getting things working well. If I can get around to testing imap_errors(), and it seems to work well, I might replace it.
I'm also happy to look at pull requests :)
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.