In Mailhandler 6.x-1.8

When imap_open() gets called and fails to open a session, the error(s) do not get logged to the watchdog log. The only watchdog evidence is a PHP error that is inconclusive:

"imap_open() [function.imap-open]: Couldn't open stream {tsaker.clacorp.com:111/pop3/notls}INBOX in C:\Documents and Settings\TJS\My Documents\per\development\workspace-PER\AWC\site\sites\all\modules\mailhandler\mailhandler.module on line 194."

I'm including a patch to mailhandler.module which logs all messages returned by PHP imap_errors().

CommentFileSizeAuthor
mailhandler.module-20091003.patch528 bytestsaker

Comments

ilo’s picture

Version: 6.x-1.8 » master
Status: Patch (to be ported) » Closed (duplicate)

Yes, definitelly, moving here: #787754: More detailed error reporting