Log WooCommerce Order Emails

How To Log Your WooCommerce Order Emails

Do you want to log WooCommerce emails?

Logging emails lets you track email deliverability and see the emails your store’s sending to customers.

In this article, we’ll show you the easy way to log, track, and resend WooCommerce messages.

Fix Your WooCommerce Emails Now

How Do I Check Email Logs in WooCommerce?

It’s easy to test WooCommerce email deliverability and logs using WP Mail SMTP.

When you install WP Mail SMTP to configure WooCommerce SMTP email settings, it’ll keep track of every email sent out from your website.

After that, you’ll be able to:

Your email log could prove vital when providing customer service or resolving a dispute. Let’s get yours set up now.

How To Log Your WooCommerce Order Emails

1. Install WP Mail SMTP

First, let’s install the WP Mail SMTP plugin on your website. You’ll need the Pro version to turn on email logging.

To download the plugin, go to your WP Mail SMTP account and switch to the Downloads tab. Download the latest version of the plugin file.

Download the WP Mail SMTP plugin

Next, log in to your WordPress dashboard. Here, you’ll want to upload the plugin and activate it.

Install WP Mail SMTP

When the plugin’s been activated you’ll see the Setup Wizard open in your browser.

If you need some more help installing WP Mail SMTP, check out this plugin installation guide.

Choose an Email Provider

When you send emails from WooCommerce, it sends them via your web server. In many cases, this results in the emails going to the customer’s spam folder.

So in this step, we’ll pick a new transactional email provider to handle your email. There are free and paid options here so you can pick the best fit for your site.

Select your SMTP mailer

If you’re not sure what to pick, we recommend SendLayer, Brevo (formerly Sendinblue), or SMTP.com. These are all professional transactional email providers that are easy to configure in WordPress.

You can pick another provider if you prefer, including Other SMTP if you want to use an external SMTP server.

Ready to move on? Now we can set up the email provider and complete the connection to your WooCommerce site. We’ve got complete documentation for every email provider to make this easy. Click the link below to jump to the documentation for the email provider you chose:

Mailers available in all versions Mailers in WP Mail SMTP Pro
SendLayer Amazon SES
SMTP.com Microsoft 365 / Outlook.com
Brevo Zoho Mail
Google Workspace / Gmail
Mailgun
Postmark
SendGrid
SparkPost
Other SMTP

Need a hand?

Our Elite license includes White Glove Setup for SendLayer, SMTP.com, or Brevo.

Come back to this guide when you’re ready to move to the next step.

Enable WooCommerce Email Logging

In this step, we’ll enable email logging for WooCommerce. This setting will keep track of the email headers and the email delivery status and store it in your WordPress email log.

After you set up your mailer, you’ll see additional WP Mail SMTP features you can enable. Be sure to check the Detailed Email Log option here.

Enabling email logs and email alerts in the WP Mail SMTP Setup Wizard

This will automatically turn on Complete Email Reports. You also have the option to receive a Weekly Email Summary of your logs as well as Instant Email Alerts whenever an email fails to send.

Once you’ve enabled the features you want to use, you’ll have the chance to configure some advanced email logging features.

Configuring email log settings in the WP Mail SMTP Setup Wizard

These options include:

  • Store the content for all sent emails. Save email content in your site’s database.
  • Save file attachments sent from WordPress. Save attachments in your site’s Uploads folder.
  • Track when an email is opened. See when recipients open your emails.
  • Track when a link in an email is clicked. See when recipients click links in your emails.

Save your settings and move through the Wizard to the final step. If you ever want to change these settings, go to WP Mail SMTP » Settings » Email Log. For more details, check out our post on WP Mail SMTP email logging.

Once you complete the Setup Wizard, you’ll receive an automatic test email to confirm that your new email provider is working.

Automatic test email from WP Mail SMTP

At this point, you’ll want to wait for a few order emails to be generated. If you don’t want to wait, you can go to WP Mail SMTP » Tools » Email Test to send a few test emails from WP Mail SMTP.

Let’s take a look at your new WooCommerce email log to see the new tools you have access to.

2. View Your WooCommerce Email Log

Now we’ve turned on email logging and we’re logging the entire contents of every order email.

Let’s open up WP Mail SMTP » Email Log and take a look at a typical email log from WooCommerce.

Open the email log in WP Mail SMTP

In this example, we have 2 emails that were automatically generated when a customer placed an order.

The Source is WooCommerce which makes it easy to pick them out.

Viewing WooCommerce order emails in the WP Mail SMTP email log

From the email log, we can also see:

  • Email subject
  • From and To address
  • Open and click tracking details
  • Date and time sent

Now let’s check out an individual email log to see what else we can do.

Move your mouse over the subject line and click View Log.

Viewing a log for a WooCommerce email

Now we can see the log file for this order email in a fullscreen layout.

The Email Details page for a WooCommerce email

From the email log, you can:

  • View the sent email (handy if you’re using a WooCommerce email customizer plugin and you want to check that the layout looks good)
  • Print the email log
  • Export your email log to CSV or XLSX
  • Export the entire email and attachments as an EML file
  • Resend the email, which we’ll look at in the next section.

Great! Now you know how to view your WooCommerce email logs. In the final section, we’ll take a closer look at some of the extra tools you can use to manage order emails.

3. Track and Resend WooCommerce Order Emails

Now you’ve fixed WooCommerce not sending emails with WP Mail SMTP, and you’ve also got your WooCommerce email log up and running.

Let’s take a closer look at 2 important features that’ll help you manage order emails.

First, let’s see how to resend failed order emails from the email log.

How To Resend WooCommerce Order Emails

From time to time, an email may still fail when it’s sent from WooCommerce, even if you’re using WP Mail SMTP.

For example, your email provider or SMTP server might go offline briefly.

If that happens, you can easily resend WooCommerce order emails from your email log, either individually or in bulk.

Resend logged WooCommerce email

You can also change the recipient address when you resend an email individually.

If you want, you can add multiple addresses separated by commas. This is a great way to resend the order email to an alternative address provided by your customer.

Resend WooCommerce emails in WP Mail SMTP

You’ll know when an email fails because it has a red dot next to it in the email log.

If you see a bunch of emails like this, you can check the boxes and use the Bulk actions dropdown to quickly resend all of them at the same time.

Resend WordPress emails in bulk

WP Mail SMTP will queue the emails in the background, so this won’t slow down your web server, even if you resend a lot of emails at the same time.

Delivery status tracking is just 1 of the ways you can track WooCommerce order emails. Let’s look at the other 2 in the final section.

How To Track WooCommerce Order Emails

We already looked at delivery status tracking in WP Mail SMTP. Delivery status tracking is enabled as long as you have email logging active.

In addition, you can also track opens and clicks in your emails. This makes WP Mail SMTP an awesome user tracking plugin for WooCommerce stores.

You can see opens and clicks for individual emails or measure performance for a group of emails in your Email Report.

First, let’s go back to WP Mail SMTP » Settings and click the Email Log tab.

Email log settings tab

Next, we’re going to turn on open and click tracking. Be sure to check these options:

  • Open email tracking
  • Click link tracking

Open and click tracking in WordPress

Awesome! Now you’ll be able to see how your emails are performing.

First, let’s see open and click-tracking data in your Email Reports.

WP Mail SMTP Email Reports menu

Your email report combines delivery status tracking, open tracking, and click-tracking into 1 chart. You can see a total for all emails or group the chart by subject line.

WP Mail SMTP Email Reports chart

And you can also see open and click tracking for any individual email in your email log.

Viewing Open and Clicked statuses for a WooCommerce email

If the customer hasn’t opened the email, you could follow up with them to make sure they received it.

This is a great tool for any emails you send from WordPress because it allows you to track emails from contact form plugins too.

And that’s it! Now you know how to set up your own WooCommerce email log.

Fix Your WooCommerce Emails Now

Next, Create a Newsletter For Your Customers

Are you using email to keep your customers up to date? Email is essential if you want to keep customers coming back for repeat purchases.

You can easily build your email list and create newsletters without leaving the WordPress dashboard!

Get started with this guide to the best newsletter plugins for WordPress.

Ready to fix your emails? Get started today with the best WordPress SMTP plugin. WP Mail SMTP Elite includes full White Glove Setup and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on Facebook and Twitter for more WordPress tips and tutorials.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPForms is funded, why it matters, and how you can support us.

Claire Broadley

Claire is the Content Manager for the WP Mail SMTP team. She has 13+ years' experience writing about WordPress and web hosting. Learn More

Try our Free WP Mail SMTP plugin

Use your favorite SMTP provider to reliably send your WordPress emails.

Please enable JavaScript in your browser to complete this form.

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.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.