This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Mail Logging

Description

WP Mail Logging is the most popular plugin to log emails sent by WordPress or WooCommerce. Simply activate it and it will work immediately, no configuration necessary.

Why log emails sent from WordPress or WooCommerce?

Because it’s useful to know which emails your WordPress sends for debugging purposes or out of curiosity.

By default, WordPress and your web host do not log, store or keep track of emails sent from your website.

What email information is logged?

The default emails WordPress sends are logged:

  • password reset emails
  • new account email notification emails
  • new comment email notification
  • WordPress version updates notification

These emails will be logged like this:

  • Complete list of sent mails, and searchable
  • Contents of the email
  • Headers of the email
  • Error statuses
  • IP address of originating server
  • Feature: decide which emails you want to keep
  • Developer: filters are provided to extend the columns

For most websites, this represents just a couple of emails per week. If your website is high traffic, is a membership website or is a WooCommerce store, the number of emails will increase and will be critical.

Why are my logged emails still not delivered to the inbox?

When WordPress sends emails, there’s no guarantee it will be delivered.

This is the lifecycle of a WordPress email:
1. WordPress or plugin creates an email
2. WordPress passes the email to the host and email gets logged by this plugin
3. The host takes the email and sends it (SMTP or Mail Transfer Agent)
4. Recipient receives or blocks the email
5. If the email is accepted, the spam filter decides which inbox it goes into
6. Recipients see the email and might open it.

This plugin does not track delivery after step 2.

How do I know if my WordPress’ emails are delivered to an inbox then?

You need to send an email from your WordPress to an inbox that has no spam filter:

  1. Install the plugin Check Email
  2. In a new tab, go to mail-tester.com. Copy the email address there.
  3. In your WordPress admin, go to Tools > Check Email
  4. Send an email to the address you copied from mail-tester
  5. Return to the mail-tester, and click on “Check your score”. Wait until mail-tester gets the email.

If mail-tester never receives your email, there’s a problem with your host’s sending method. Contact your host to let them know.

What to do if the emails are not delivered to my personal inbox?

If mail-tester receives your emails (see point above), but your own address doesn’t receive it:

  • Check your inbox spam folder
  • If the email is not there, your email provider is blocking the email before it even reaches the spambox. This is common.

We recommend in this case to send your WordPress email with a service provider, like MailPoet or Sendgrid. See our guide on free plugins and options to send with an SMTP plugin.

Which emails does WooCommerce send?

  • Cancelled order
  • Failed order
  • Order on-hold
  • Processing order
  • Completed order
  • Refunded order
  • Customer invoice / Order details
  • Customer note
  • Reset password
  • New account

Which popular plugins send emails?

  • The Event Calendar
  • Gravity Forms
  • Ninja Forms
  • Contact Form 7
  • Wordfence
  • … and many more.

Credits

The plugin was created and launched in 2014 by Christian Zöller.

Screenshots

  • The List
  • The Detail View
  • The Settings

FAQ

I need help!

We answer in the forums, but only occasionally.

Where can I report a bug?

You can do so in the support forums. We’ll be happy to review them.

Can I submit changes to the plugin?

Yes, directly on GitHub.

Reviews

March 29, 2021
I first began using WP Mail Logging approximately a year and a half ago after having experienced some SMTP-related issues. After having installed it, I haven't looked back and have done so for all of my client sites. This free plugin comes in handy to help keep me well informed about the behavior and details regarding emails being sent from my site. I use it both as a means of "keeping a finger to the pulse" of my email system as well as to gain better insight over deliverability. Thanks to this plugin I gained greater confidence in Mail Poet's other plugins which are so far winners; I'll be getting to those reviews soon. Thank you MailPoet for this plugin and the obvious quality of design and development that you are providing this community through your software.
October 2, 2020
I just don't know how anyone who runs a site can do it without this plugin. When someone reports they "did not get the email" the only way to investigate is to be able to say with 100% certainty that the mail was sent is to have a plugin such as WP Mail Log. This plugin works IMMEDIATELY - OUT OF THE BOX. And doesn't nag or hold back functionality to force you to upgrade. I am using this plugin on many different installations. Some are sending email via Google, some are using the default WP Mail from their hosting company, SendGrid (who I can no longer recommend) and MailGun. It doesn't matter, I get a record of the email and if necessary I can resend it.
September 18, 2020
I love this plugin, but at the bottom of the orders page, I noticed your "Reliable and beautiful emails by MailPoet!" ad that I couldn't dismiss. This overly aggressive advertising practice is rather concerning. If you do insist on advertising your other plugins, please do it in a less obtrusive manner. At least, allow users to dismiss ads.
Read all 54 reviews

Contributors & Developers

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

Contributors

“WP Mail Logging” has been translated into 9 locales. Thank you to the translators for their contributions.

Translate “WP Mail Logging” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.9.8 – 2021-06-18

  • Changed ownership!

1.9.7 – 2020-09-02

  • Added: wpml_banner_display filter to hide MailPoet banner;
  • Updated: support for WordPress 5.5.

1.9.6 – 2020-05-05

  • Removed: contextual help tab.

1.9.5 – 2019-11-07

  • Updated: plugin author.

1.9.4 – 2019-11-07

  • Fixed: assets files.

1.9.3 – 2019-11-07

  • Fixed: typo in readme.

1.9.2 – 2019-11-07

  • Added: MailPoet banner;
  • Updated: assets;
  • Improved: menu position is now under wp-admin > tools.

1.9.1 – 2019-08-20

  • MailPoet has claimed ownership. We’re grateful to Christian for all the work committed to this project over the years.

1.9.1, 2019-04-18

  • Fix: log-view resources loaded on each page (performance issue)
  • Fix: attachment icon is not displayed (e.g. if mime-type is unsupported)

1.0, 2014

  • Hello matrix