WP Mail Logging by MailPoet的作者是MailPoet，目前有100,000+个有效安装。已经Tested with 5.2.6版本的wordpress。
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
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:
Install the plugin Check Email
In a new tab, go to mail-tester.com. Copy the email address there.
In your WordPress admin, go to Tools > Check Email
Send an email to the address you copied from mail-tester
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?
Customer invoice / Order details
WHICH POPULAR PLUGINS SEND EMAILS?
The Event Calendar
Contact Form 7
… and many more.
This plugin is maintained by MailPoet, the most popular email plugin for WordPress.
The plugin was created and launched in 2014 by Christian Zöller.