WP Mail Logging


Logs each email sent by WordPress. This can be useful if you don’t want to lose such mail contents. It can also be useful for debugging purposes while development.

Features of the plugin include:

  • Complete list of sent mails – view and search through the mails.
  • Error status from mail implementation is logged
  • Zero-configuration – just install and enjoy.
  • Log rotation – decide which emails you want to keep.
  • DevOP: IP of server sent the mail
  • Developer: Boost your development performance by keeping track of sent mails.
  • Developer: Filters are provided to extend the columns.

Follow this plugin on GitHub

If you find an issue, let us know in the Tracker

Provide feedback and suggestions on enhancements


  • The List
  • The Detail View
  • The Settings


Just install and activate wp-mail-logging. The plugin will do the work for you! You can list all logged mails on the plugin site.
I recommend the following plugins if you want to send mails via SMTP because they are technically well integrated into WordPress and provide error messages on failure.:
SMTP Mailer


How do I know the mail was sent?

If there is no error logged chances are high the mail was sent. There are plugins that overwrite (do not customize) the default mailing mechanism of WordPress – they maybe do not inform about failure so it can’t be logged by WP Mail Logging.

How do I know the wail was delivered?

The logged email has been sent by WordPress but please note this does NOT mean it has been delivered. With the given functionality of WordPress you can’t determine if a mail was delivered successfully.


Almost perfect

WP Mail Logging is a great plugin to help developers solving sending problems.

One thing you could enhanced easily: make it available for translation (we could only translate readme file on w.org). The French WordPress community will thank you if you can do something. 😉

Does exactly what it should

Really good solid plugin.

Works well alongside the WP SMTP mailer plugin as well. We are sending via Amazon SES and it tracks those mails no problems.

Thanks author!


I want to thank you for such a useful plugin. To be honest I have no idea why this is not in core, but this is perfect!

I develop and run a lot of sites and this makes it so simple to see what emails were sent. Especially useful for WooCommerce when someone says they did not get their order email with download links. You can screenshot it and also paste the content in to a reply so they know it was sent from our end.

Couldn’t be easier to use either: Install, check mail logs.

Thanks for this gem of a contribution!

Read all 20 reviews

Contributors & Developers

“WP Mail Logging” is open source software. The following people have contributed to this plugin.



1.8.0, February 15, 2017

  • New: Error status from mail implementation is logged
  • New: Resend mail
  • New: Added translation files
  • New: Added translation for de_DE and zh_CN
  • Fix: raw mode of message renders attachments as text
  • Fix: fallback to raw mode for json mode if mail is containing html
  • Tweak: Pretty print json

1.7.0, November 6, 2016

  • New: logging host IP
  • Fix: passing search term for pagination
  • Tweak: close modal with ESC

1.6.2, August 7, 2016

  • Fix: search mails

1.6.1, August 1, 2016

  • Fix: delete mails

1.6.0, July 31, 2016

  • New: Improved modal, added view types
  • Tweak: Proper date if none set in WordPress settings
  • Tweak: Updated libraries
  • Tweak: Added wp_mail hook to very last priority

1.5.1, October 11, 2015

  • Tweak: Fixed security issues

1.5.0, June 4, 2015

  • New: Setting for date time format
  • Tweak: Removed admin bar menu
  • Fix: repetitive cron schedule

1.4.2, April 4, 2015

  • Tweak: Library updated – settings load speed improved.

1.4.1, March 28, 2015

  • Fix: Restrict submission data works now.
  • Fix: Granularity of cleanup by time slider changed to 7.

1.4.0, December 22, 2014

  • New: Log Rotation
  • New: Search
  • Tweak: Settings
  • Fix: international characters are supported now
  • Fix: Mandrill support

1.3.2, September 21, 2014

  • Fix: HTML mails broken in previous version.

1.3.1, September 12, 2014

1.3, August 24, 2014

  • New: clean mail listing including:
    Modal window for mail details.
    Attachment support with appropriate icon for mime type.
  • Tweak: Performance improvement
  • Fix: screen option for mails per page

1.2, August 12, 2014

  • New: video
  • Tweak: Improved help & stability
  • Fix: deletion of mails regardless of options (on update to 1.2 your mails will be deleted hopefully this happens for the last time)


  • Tweak: Modified readme.


  • Initial Revision