Debugging imap issues

Hello,

I am having an issue with the phpimap module and don’t know how to troubleshoot it. I am using it to transfer email from MS365 online to a ticketing program. In most cases the module is working like it should. Emails come into the inbox, the module connects, receives the email and then moves the email from the Inbox into an archive folder. However, in the past few days there are some emails where the module simply marks the email as read but doesn’t do anything with it. They just sit in the inbox. I need to determine why.

I’ve checked the IIS, PHP and ticket system logs and don’t see anything related to this issue. Where do I start looking?

You would need to post all the code, less the email login credentials, to get any help. Best guess is the code is not handling the case where an imap error has occurred and/or php is perhaps not setup to log all the errors it detects.

Sponsor our Newsletter | Privacy Policy | Terms of Service