Troubleshooting Mailbox Monitor

traphouse

New Member
I'm having an issue with my Mailbox Monitor that is preventing it from processing unsubscribe emails. Despite setting up the mailbox credentials and related settings, including having the "email-box-monitor-handler" cron job run successfully every 10 minutes, the Mailbox Monitor isn't processing any of the unsubscribe emails currently present in the mailbox.

Where can I find the logs to investigate why the Mailbox Monitor isn't working?
 

Attachments

  • emailboxmonitor-settings.png
    emailboxmonitor-settings.png
    191.3 KB · Views: 16
  • cronjobs-history.png
    cronjobs-history.png
    274.7 KB · Views: 16
  • mailbox.png
    mailbox.png
    443.7 KB · Views: 16
Hello,
Try to increase the value of Days back to higher value like 30 from Backend->Settings->Cron->Settings for processing email box monitors. You can also check what the email-box-monitor-handler is doing by following this article: https://www.mailwizz.com/kb/debug-send-campaigns-command/

Cosmin

Thanks! I manually ran the email-box-monitor-handler cronjob with --verbose=1:

[2023-05-04 14:01:38] - Start processing...
[2023-05-04 14:01:38] - Processing with PCNTL!
[2023-05-04 14:01:38] - Started processing server ID 1.
[2023-05-04 14:01:38] - Searching for results in the "INBOX" mailbox...
[2023-05-04 14:01:38] - Opening the IMAP connection.
[2023-05-04 14:01:38] - Connection opened successfully!
[2023-05-04 14:01:38] - Searching using following search string: UNDELETED SINCE "01-May-2023"
[2023-05-04 14:01:38] - Found 0 search results.
[2023-05-04 14:01:38] - Found 0 results.

The issue was that all the unsubscribe emails were received before 01-May-2023.
 
That is why I said to increase days back to a higher value. Your running was made with 3 days back .

Cosmin
 
Back
Top