Skip to main content
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

Monitoring email accounts

in Email Accounts
Authors list
Published: 23 Mar 2017|Last updated: 18 Mar 2022

You can view logs of the status of incoming and outgoing email messages under Tickets > Email Accounts.

../_images/email-logs.png

Viewing these logs can be useful when troubleshooting email problems.

Bear in mind that email processing does not happen instantly. There will be a slight delay between an email arriving in the inbox of a ticket account and Deskpro checking the account and processing it into a ticket; similarly, outgoing emails are queued up and sent out in batches.

You can filter either log to find particular emails using the Filter button.

Click on an email’s ID number to see full details.

You can apply actions to an email using the gear icon when viewing its details (see the  How do I enable logging for incoming email processing? and  Enabling logging for outgoing email sections below for details).

You can carry out actions on multiple emails by selecting the checkboxes at the left of the log.

../_images/email-log-overview.png

Incoming email log Copy link to Incoming email log to clipboard

The incoming email log shows emails that have been received by the email accounts you have configured to receive tickets.

These are the actions you can apply to emails from the incoming log:

../_images/email-massactions-incoming.png

  • Reprocess Emails: this will reschedule the selected emails for processing.

    Use this option if email has not been correctly converted into a ticket or ticket message and you want to try again. Note that Deskpro will not create a duplicate ticket if the email has already been processed.

  • Delete emails: use this to remove the selected emails from the system.

    Note that this deletes the raw email source and the processing log from the system, but if the deleted email has already been processed, any resulting ticket or message will not be deleted.

Note

By default Deskpro will only keep the incoming mail records for 60 days

Outgoing email log Copy link to Outgoing email log to clipboard

The outgoing email log shows pending messages that have not yet been sent, and messages where sending failed.

Messages that have been sent successfully are not displayed on this log.

Note that if a message has been sent successfully but not delivered due to a problem at the recipient’s end, that will not be shown in the outgoing email log. You will probably receive a bounce message on the relevant ticket.

These are the actions you can apply to emails from the outgoing log:

../_images/email-massactions-outgoing.png

  • Resend Messages: selecting this option reschedules the selected emails for delivery, marking them as pending. The system will attempt to deliver the messages the next time the message queue is processed. This option is useful if you want to resend failed messages once you have corrected a problem.

  • Delete Messages: this deletes the message, and all records of it will be removed from the system.

Enabling detailed logging of outgoing email Copy link to Enabling detailed logging of outgoing email to clipboard

If you are using Deskpro On-Premise, you can enable more detailed logging of outgoing email.

These options should only be enabled if necessary for debugging.

To enable logging of communication between Deskpro and your SMTP server, set this option in config.php:

$DP_CONFIG['debug']['mail']['enable_mail_log'] = true;
copy

The log will be written to data/logs/mailer.log within the directory where you installed Deskpro.

To save a copy of all outgoing email, set this option in config.php:

$DP_CONFIG['debug']['mail']['save_to_file'] = true;
copy

A raw copy of every email sent by Deskpro will be saved in data/logs/emails.

HelpfulUnhelpful
next pageDealing with spam
previous pageRunning an email-only helpdesk

Please log in or register to submit a comment.