how to fix wp optimize not sending email

How To Fix WP-Optimize Not Sending Email Issue

Is WP-Optimize not sending email notifications about errors on your site?

WP-Optimize is a WordPress performance plugin that optimizes the database and enables caching to speed up your website.

While doing the optimization, it may run into some issues. These issues are recorded in an error log that you can share with the plugin’s support for the investigation. If the error log emails don’t reach your inbox, you won’t know what’s causing the issue.

In this tutorial, we’ll show you how to easily solve the email deliverability issue of WP-Optimize. We’ll also show you how to check the log emails right into the WordPress dashboard.

Fix Your WP-Optimize Emails Now

Why Are My WordPress Emails Not Sending?

WordPress by default uses the PHP mail() function to send emails from your website. This isn’t a reliable method because hosts can block emails sent this way.

Also, a common problem with emails from WordPress is that they fail authentication. Most email apps treat such emails as spam so they never make it to your inbox.

The solution to this is to use a dedicated SMTP plugin to handle all emails from the website. WP Mail SMTP is the best WordPress SMTP plugin that helps in connecting your website to an email server.

This adds authentication to the messages and improves the deliverability of emails.

How To Fix WP-Optimize Not Sending Email Issue

Ready to fix the email deliverability issue of WP-Optimize? Make sure to follow the steps below:

  1. Enable Log Events in WP-Optimize
  2. Install the WP Mail SMTP Plugin
  3. Connect Your Website to an Email Service
  4. Enable Email Logging
  5. View Error Log Emails in WordPress Dashboard
  6. Force All Emails From the Same Address

Let’s start by enabling the log events via email in the WP-Optimize settings.

1. Enable Log Events in WP-Optimize

Whenever there’s an issue with the plugin, it generates an error log with the details about the issue. This error log is helpful for developers to solve the issue.

WP-Optimize offers multiple destinations to send the error logs. To receive log emails, you need to make sure the logging destination is set to email.

To do that, go to WP-Optimize » Settings.

WP Optimize settings

Now scroll down to the Logging settings section.

To add a new logging destination via email, click Add logging destination and select Log events to email from the dropdown.

Select log events via email in WP Optimize

Enter the email address that you want to use to receive the error log. Last but not least, remember to save your settings for the changes to take effect.

enter an email address to send logs in WP Optimize

If you already see other destinations set, you can delete them by clicking the cross icon.

We now have the email settings correctly set up. Let’s now install the WP Mail SMTP plugin to make sure emails reach the correct inbox.

2. Install the WP Mail SMTP Plugin

WP Mail SMTP is hands down the best SMTP plugin for WordPress. It solves the email deliverability issue by connecting your website to an external email service. This adds authentication to your emails so that they reach the right inbox.

To start, head over to your WP Mail SMTP account, and under the Downloads tab, click on the orange button to download the latest version of the plugin file.

Switch to the dashboard of your WordPress website and upload the zip file. If you’re not sure how or need help with this part, please refer to this guide on how to install a plugin in WordPress.

Once the plugin Activated it’ll start the Setup Wizard in your browser. This will make it easy to configure the plugin.

If you want to pause here or want to start the wizard at a later time, you can do that by clicking the Launch Setup Wizard button in the plugin settings.

Do note that we don’t recommend this if you already have a mailer set up because this will erase the settings and you’ll have to set everything again from scratch.

3. Connect Your Website to an Email Service

Now, it’s time to connect your website to a mailer service.

Click on the Let’s Get Started button to begin the process.

WP Mail SMTP offers several mailer options. You can choose a premium option like or use a free option like Gmail. The option you choose will depend on the type of website you have.

Choose SMTP mailer

Here are few tips to help you choose the best:

  • If your site sends a lot of transactional emails, we recommend or Sendinblue.
  • Gmail or Google Workspace are both a great option for low volume sending. You can also use Gmail alias to send emails from different plugins using different email addresses.
  • If you use web hosting that provides email service through SMTP, you can use it with the Other SMTP option.

When you’ve chosen a mailer, open up our documentation to complete the setup steps on the provider’s side:

Switch back to this guide after you’ve established a connection between the website and the email service.

4. Enable Email Logging

The next step in the wizard is to enable features that will help in improving the email deliverability. You’ll see two options enabled by default and they are:

  • Email deliverability
  • Error tracking

The next option is the Detailed Email Log which will track every email that’s being sent from your website.

Enable email logs

We highly recommend that you enable this feature to check the status of emails right in the WordPress dashboard.

The email logging feature in WP Mail SMTP is super advanced. You can filter the emails using the date picker.

The search box lets you look for keywords within the subject or content of the email.

Email log filtered by date in WordPress

WP Mail SMTP also has a beautiful dashboard widget that shows the email statuses in the form of a chart. This makes it easy to spot errors with your emails and fix them.

This logging data can also be exported to CSV, EML, or XLSX.

The last step is to copy the license key from the WP Mail SMTP account and paste it into the box. This will enable the pro features and future automatic updates to the plugin.

Enter WP Mail SMTP license key

That’s it! You’ve done everything to fix the WP-Optimize not sending email issue.

5. View Error Log Emails in WordPress Dashboard

Don’t want to open the email app to view error logs? You can view the emails right from the WordPress dashboard using the WP Mail SMTP email logging feature.

It keeps a record of every email that’s being sent from your website. For security reasons, it doesn’t log email content by default. But there’s an option to enable that.

Go to WP Mail SMTP » Settings and switch to the Email Log tab. There, enable the option “Log Email Content” to view email data in the dashboard.

Log email content in WordPress

Now, whenever a new error log email is sent from WP-Optimize, you can view it in the WordPress dashboard along with the log attachment file.

And that’s it! Now you know how to configure WP-Optimize emails so you never miss another log alert.

Fix Your WP-Optimize Emails Now

Next: Check Out the Best Security Plugins

Just like performance, security is also an important aspect of running a successful business.

There are tons of security plugins available for WordPress. To help you choose one according to your needs, we’ve written a guide that lists the best security 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.

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.