How to Log Your Emails in WordPress using WP Mail SMTP?

email logging by wp mail smtp wordpress plugin

Have you ever worried about the email you sent? 

Do you want to see if it is sent to the right participant?

Sometimes, people sent an email and worried about if it is delivered or not?

That’s a lot of stuff to manage to track all the emails we sent out from our blog. Don’t be so panic we have a solution for it.

Do you remember that last time I have published one article about the WP Mail SMTP WordPress plugin? If not, then you can read it right here.

WP Mail SMTP plugin has a great feature to keep the track of all emails sent out. We called it as email logging. This plugin keeps all the information about your email so that if you want to check anything about the sent email, you can directly check it right from your WordPress dashboard.

All you need to do just install the WP Mail SMTP plugin, that’s it.

In this post, I will tell you about how to enable email logging for your WordPress blog using the WP Mail SMTP plugin.

Before starting the tutorial I would like to tell about why we need email logging. Why do we care about the email which we sent already?

Debug any email issue– If you have sent an email and you want to check or debug any issue with it then email logs will help you. You can easily track the email and check what’s wrong with it by looking at the logs.

Email logs filter- Email logs will be saved to different tables for your blog and you can easily check it, sort it and filter it according to your need.

Email details- You can check more details about the email sent. You can check the date and time, to/cc/bcc fields, delivery status, participant, attachment and all other technical stuff.

Email delivery status- You can easily verify the email delivery status by looking at the email. This is very important if you are a business. If someone is complaining about not receiving any emails then you can check the email delivery status in logs.

Now, let’s start the actual tutorial for enabling the logging for an email in WordPress blog.

Related tutorials-

Install the WP Mail SMTP plugin

The first step is to install the WP Mail SMTP plugin from the WordPress directory and activate the plugin.

If you are new to WordPress then you can refer my previous tutorial about WP Mail SMTP plugin to activate and configure the plugin.

Enable Email logging

Once you activated the plugin, the next task is to enable the logging. To do so, head over to WordPress dashboard » WP Mail SMTP » Email Log

You have to click on the Enable Log checkbox. Once you click on it, you will get the new checkbox Log Email Content to keep the content for all emails sent from your site.

You can check both the checkbox to keep tracking on all the emails which you are sending.

By enabling the email logs you can check

  • Email delivery status if it is failed or success.
  • Email sent date and time.
  • Recipient of the email including CC and BCC.
  • All the attachments.
  • From email address.
  • and all other technical stuff like content type etc.

It means, there is nothing remaining you can not check with email logging.

View Logs

Now, if you need to see the logs, debug the issue then you can check all the emails logs from WP Mail SMTP » Email Log

You can see all the logs of emails, also if you want to see the more details of a single email then you can simply click on the subject of any email. You will get all the details related to a particular email.

This is all about email logging. Now, you can easily track each email sending from your site.

You can buy the premium version of WP Mail SMTP Plugin here.

If you like the above article then you can share it with your friends. Also, let me know if you have any issues with the WP Mail SMTP plugin.

The following two tabs change content below.

Amit Kharbade

Editor/Writer at ScrollBucks
Engineer, Blogger, Writer, and the man behind ScrollBucks. Amit has been contributing to ScrollBucks since 2014. He is writing about Blogging, Adsense Guide, WordPress tutorials, Affiliate marketing, and reviews.

Leave a Comment