how-to-setup-wordpress-email-logs

How to Set Up WordPress Email Logs

Want to set up email logging on your WordPress site?

With email logging enabled, you can keep records of every email that’s sent out from your website.

In this post, we’ll show you exactly how to set up and view WordPress email logs using the WP Mail SMTP plugin.

Here’s a summary of the steps to set up WordPress email logs:

WPForms is the best WordPress Form Builder plugin. Get it for free!

1. Install the WP Mail SMTP Plugin
2. Enable WordPress Email Logs
3. View WordPress Email Logs

Why Should I Turn Email Logs On?

Once you turn on email logging, your WordPress database will keep track of all the emails your site sends out.

This could be helpful if you:

  • Are Using Form Notifications — Form notifications send you email alerts when someone fills out a form. This is great for automatically routing emails to the correct team member and staying on top of incoming leads
  • Want To See Who Got Which Email — You can stay organized by checking your email logs to see which visitors or team members received which emails.
  • Need More Details — This will help you see things like when an email was sent. You can view your email logs to uncover tons of details including the date and time the email was sent.
  • Make Sure Email Are Delivered — You can use email logging to  verify an email was delivered successfully. If a visitor reaches out to you and says they didn’t receive an email they expected, you can verify the status in the log. This is helpful in many cases, including if you turn on User Activation when you create a user registration form.

How to Set Up WordPress Email Logs

So you’re wondering how to see what emails your WordPress site sends out? Follow these steps to set up email logging in WordPress:

Step 1. Install the WP Mail SMTP Plugin

First, install and activate the WP Mail SMTP plugin on your WordPress site.

wp-mail-smtp-logo

You may prefer to let the WP Mail SMTP team do the work of setting this all up for you. In that case, be sure to check out the White Glove Setup option, where the team handles your mailer setup and testing.

Once the WP Mail SMTP plugin is activated, head to your WordPress dashboard.

Step 2. Enable WordPress Email Logs

From your WordPress dashboard, go to WP Mail SMTP » Settings. Then, click on the Email Log tab.

open wordpress email log

From the Email Log page, you’ll spot an option called Enable Log. This will keep a record of every email sent out from your website moving forward.

With this Enable Log option, details for each WordPress email record will include:

  • Email Status (Lets you know if it was sent successfully)
  • Date and Time Sent
  • Subject Line
  • Recipient Email Address(es) (including CC and BCC)
  • From Email
  • Number of Attachments (In case you’ve set up your forms to accept multiple attachments)
  • Mailer Options Used
  • Additional Technical Details (such as content-type, MIME, etc.)

Go ahead and click the box next to Enable Log. Once you select this, a 2nd option will appear underneath that option called Log Email Content.

email log options

The Log Email Content option will store all of the content of the emails sent from your site. You’ll be able to find it in the email record along with the other details.

It’s completely up to you if you want to enable Log Email Content. This is an optional setting and isn’t required to enable email logs.

Make sure to carefully consider if you really need to enable the Log Email Content option. All email content will be stored as plain text (not encrypted) in your site’s database. You may want to learn more about WordPress security.

Next, click on the Save Settings button to enable WordPress email logging.

save settings email log

Step 3. View WordPress Email Logs

To view your WordPress email logs, click on WP Mail SMTP » Email Log on the left side of WordPress admin menu. The newest emails will be shown at the top of the list.

Email-log-in-WP-Mail-SMTP

If you want to see more details about a particular email, just click on the Subject. This will open a page for that individual email log.

individual record details

Great job! You’ve officially enabled and viewed your WordPress email logs.

In Conclusion

And there you have it! You now know how to set up WordPress email logs using the WP Mail SMTP plugin.

Be sure to check out our post on how to create an email newsletter if you’re interested in boosting your online growth through your email list.

So what are you waiting for? Get started with WP Mail SMTP now and manage your emails logs while fixing your WordPress email problems once and for all.

And if you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Using WordPress and want to get WPForms for free?

Enter the URL to your WordPress website to install.

Comments

  1. Thanks for reading this article – I hope you found it helpful.

    I wanted to let you know about our new WordPress survey plugin that allows you to build interactive polls and surveys within minutes. You also get best-in-class reporting, so you can make data-driven decisions.

    You can get it 100% free when you purchase WPForms Pro plan.

    Get Started with WPForms Today and see why over 2 million websites choose WPForms as their preferred online form builder.

    Syed Balkhi
    CEO of WPForms

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.