how to fix wp optimize not sending email

How to Fix WP-Optimize Not Sending Email Issue

Editorial Note: We may earn a commission when you visit links on our website.

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 team 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 error 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.

WP Mail SMTP Email Deliverability illustration

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 your 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

1. Enable Log Events in WP-Optimize

Whenever there’s an issue with the WP-Optimize 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 (X) 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.

Downloading the WP Mail SMTP plugin

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.

Installing the WP Mail SMTP plugin

Once the plugin is 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.

Starting the WP Mail SMTP Setup Wizard

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

Choosing the Other SMTP mailer option in the WP Mail SMTP Setup Wizard

Here are a few tips to help you choose the best:

  • If your site sends a lot of transactional emails, we recommend SendLayer, SMTP.com, or Brevo (formerly Sendinblue).
  • Gmail or Google Workspace are both great options for low-volume sending. You can also use Gmail aliases 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.

Once you’ve chosen your mailer, check out our setup documentation for more details on how to create your account and connect it to your site:

If you want to set up multiple mailers, you can do so in the Additional Connections settings once you’ve finished the Setup Wizard. Then you can select a Backup Connection and configure Smart Routing.

Switch back to this guide after you’ve established a connection between your 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:

  • Email deliverability
  • Error tracking

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

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

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 WP Mail SMTP dashboard widget

Enabling email logging will also turn on Complete Email Reports. You can choose if you want to receive the Weekly Email Summary.

We also recommend turning on Instant Email Alerts. This feature notifies you when an email fails to send.

On the next screen, there are advanced email logging features you can turn on.

Configuring email log settings in the WP Mail SMTP Setup Wizard

These include:

  • Store the content for all sent emails. Save email content in your site’s database. This lets you resend emails.
  • Save file attachments sent from WordPress. Save email 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.

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 labeled 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.

Comments

    1. Hi There,

      Are you able to send emails when you deactivate the WP-Optimize plugin? If so, please get in touch with their support, and they should be able to assist you further.

      I hope this helps. Thanks!

Add a Comment Cancel reply

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.