Log and view all outgoing emails from WordPress. Very useful if you have to debug email related problems or have to store sent emails for auditing.
Email Log is a WordPress plugin that allows you to easily log and view all emails that were sent from WordPress.
This would be very useful for debugging email related problems in your WordPress site or for storing sent emails for auditing purposes, especially on ecommerce sites that are setup with either WooCommerce or Easy Digital Downloads.
You can perform advanced actions like re-sending email, automatically forwarding emails or export logs with our premium add-ons.
Works with WordPress Multisite as well.
The logged emails will be stored in a separate table and can be viewed from the admin interface.
While viewing the logs, the emails can be filtered or sorted based on the date, email, subject etc.
In the admin interface, all the logged emails can be delete in bulk or can also be selectively deleted based on date, email and subject.
If you want to automatically delete the email logs after some days, then you can use the Auto Delete Logs add-on.
You can buy the Resend email pro add-on,
which allows you to resend the email directly from the email log.
The add-on allows you to modify the different fields of the email before resending it.
You can buy the More Fields pro add-on,
which shows additional fields in the email log page. The following are the additional fields that are added by this addon.
You can buy the Forward email pro add-on,
which allows you to send a copy of all the emails send from WordPress to another email address.
The addon allows you to choose whether you want to forward through to, cc or bcc fields.
This can be extremely useful when you want to debug by analyzing the emails that are sent from WordPress.
You can buy the Export Email Logs add-on, which allows you to export the email logs as a csv file for further processing or record keeping.
As recommended by Ozh, the Plugin has an uninstall hook which will clean up the database and options when the Plugin is uninstalled.
You can find fully searchable documentation about using the plugin in the doc section of the Email Log website.
The development of the Plugin happens over at github.
If you want to contribute to the Plugin, fork the project at github and send me a pull request.
If you are not familiar with either git or Github then refer to this guide to see how fork and send pull request.
The Plugin currently has translations for the following languages.
The pot file is available with the Plugin.
If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know.
I will add it to the Plugin after giving credit to you.
This Readme file was generated using wp-readme, which generates readme files for WordPress Plugins.
Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.
The above screenshot shows how the logged emails will be displayed by the Plugin
This screenshot shows how you can configure the email display screen. You can choose the fields and the number of emails per page
The above screenshot shows the HTML version (if available) of the logged email that you choose to view
The above screenshot shows the text version of the logged email that you choose to view
The above screenshot shows how you can search logged emails by date
wpmandrill plugin has a bug that prevents this plugin from logging the content of the email.
More details about the bug is available at https://wordpress.org/support/topic/mandrill-is-changing-the-names-of-args-in-the-filter?replies=1.
I have asked the author of the plugin to fix it and it might get fixed it the next release.
Meanwhile, I have added a hack to handle this condition in v1.7.3 of my plugin. So if the content is not getting logged, then upgrade to v1.7.3.
el_log_time_display_format
filter to change the email log display time.wp_mail
may not contain all the required fields.manage_option
capability to view email content.date_format
or time_format
are empty (issue #23)prepare_items
function so that it adheres to strict modescreen_icon
function call which is not used in WordPress 3.8