Do you want to configure your WordPress SMTP settings for outgoing emails, but you’re not sure where to start?
It’s definitely worth setting up an email provider to add authentication and stop your WordPress emails from going to the spam folder.
In this guide, we’ll show you how to set up WordPress SMTP by yourself. If you’re not confident in doing that, we’ll also explain how to get our team to handle WordPress email settings for you!
Where Is the SMTP Setting in WordPress?
By default, WordPress doesn’t have native SMTP settings. In order to configure SMTP on your WordPress for emails, you’ll want to install the WP Mail SMTP plugin.
WP Mail SMTP takes over the default method of sending email in WordPress which uses the unreliable PHP mail system.
In effect, WP Mail SMTP reconfigures your site’s mail function so that it uses SMTP rather than PHP mail.
This is much more reliable because SMTP includes the necessary authentication details to your messages to ensure successful email delivery.
When you install WP Mail SMTP, it’s important to complete our Setup Wizard. If you don’t, WP Mail SMTP won’t have any effect.
We’ll show you exactly how to complete the Setup Wizard below, in the section called Method 2.
How to Configure Your WordPress SMTP Settings for Emails
Let’s take a look at 2 ways to set up your WordPress email settings using WP Mail SMTP. We’ll start with the easiest option!
In This Article
- Method 1: Get Full White Glove Setup for WordPress SMTP
- Method 2: Add WordPress SMTP and Email Settings Yourself
- Connect to a Mailer Service
- 3. Enable Email Logging and Email Alerts
- 4. Set Up Additional Connections in WP Mail SMTP
- 5. Resend Emails Using WP Mail SMTP
Method 1: Get Full White Glove Setup for WordPress SMTP
Setting up WordPress SMTP can be pretty overwhelming if you’re a beginner. If you’re not confident setting up email in WordPress, you can just leave the task to experts.
That’s why WP Mail SMTP provides a full White Glove Setup service. It makes the WordPress mail server setup effortless.
Note: Our White Glove Setup service is only available to WP Mail SMTP Elite users.
Our White Glove Setup service includes complete configuration and testing for your new email provider using your verified email account.
That means we’ll:
- Add your preferred From Name and From Address
- Set up all of the required DNS records with your hosting providers
- Test mailer so you know your WordPress emails are delivering properly.
If you want to use WP Mail SMTP without the hassle and have your email delivery issues fixed once and for all, this is likely the best option for you.
To get setup assistance, see how to request White Glove Setup.
How to Get White Glove Setup for WordPress SMTP
If you want to go ahead with White Glove Setup, you’ll want to purchase the WP Mail SMTP Elite license.
You can purchase a new license now, or upgrade your Pro license in your WP Mail SMTP account.
Next, you’ll want to choose your mailer.
Our White Glove Setup service is available with SendLayer, SMTP.com, or Sendinblue. All 3 of these email providers have a proven track record of excellent email deliverability.
All set? Start the White Glove Setup process right now in your WP Mail SMTP account. Head to the Downloads tab, then click Apply for White Glove Setup to let us know you’re ready to begin.
If you’d prefer to configure WordPress SMTP settings yourself, let’s walk through the process next.
Method 2: Add WordPress SMTP and Email Settings Yourself
The second option is to configure WordPress SMTP settings yourself. This is slightly time-consuming for beginners, but we’ve already created custom setup docs for every email provider to help you with the setup process.
This method works with any version of WP Mail SMTP.
Install the WP Mail SMTP Plugin
First, install WP Mail SMTP if you haven’t done that already.
If you’re upgrading from Lite to Pro, you can paste your license key into the field on the plugin settings page to automatically upgrade.
If you’re new to WP Mail SMTP, log in to your WP Mail SMTP account and switch to the Downloads tab.
You can download the latest version of the plugin file by clicking the orange button.
Now, log in to the WordPress dashboard and upload the plugin to install it. If you need help with this, check out this guide on how to install a WordPress plugin.
Once the plugin is installed, be sure to Activate it. This will launch the Setup Wizard in your browser.
Connect to a Mailer Service
In this step, we’ll connect your website to a mailer service of your choice.
Click the Let’s Get Started button to begin the Setup Wizard.
Now it’s time to start the WordPress mail server setup process.
If you aren’t sure which email provider to use, we have some tips that might help:
- For general usage, we recommend SendLayer, SMTP.com, or Sendinblue. These are professional transactional email providers with either a free trial or a completely free plan.
- Other SMTP is a good option if you want basic email sending through an external SMTP server. It also provides strong encryption with TLS and SSL standards. But keep in mind that some hosts, including GoDaddy and A2 Hosting, may block external SMTP connections.
- Our Gmail mailer is perfect if you have a Gmail or Google Workspace account. Setting up this mailer takes a little longer than some of the other options, but it allows you to send email from any Gmail alias in WordPress.
Once you have chosen a mailer, go ahead and select it in the wizard.
Now it’s time to create your account with your preferred mailer and connect it with your WordPress site. We’ve created detailed documentation for each email provider to make this really easy.
Click on your provider in the table below to open the documentation page in a new tab and follow the steps to configure WordPress email settings.
|Mailers available in all versions||Mailers in WP Mail SMTP Pro|
|SMTP.com||Microsoft 365 / Outlook.com|
|Google Workspace / Gmail|
You’ll find complete instructions in the docs above, such as which SMTP port to use (if you choose Other SMTP), connect your email service with WP Mail SMTP using an API key, and how to configure WordPress SMTP settings overall.
When you’ve set everything up and verified that everything is working OK with your test email address, switch back to this guide to follow the remaining steps in the wizard.
3. Enable Email Logging and Email Alerts
After you’ve successfully added your WordPress email settings, WP Mail SMTP will ask you which additional features you’d like to enable.
There are 2 features enabled by default:
- Improved Email Deliverability
- Email Error Tracking
If you have the Pro version, you’ll also be able to turn on the Detailed Email Logs and Instant Email Alerts.
Detailed Email Logs will track the headers, subject line, and other information about the email. When this feature is enabled, it will automatically turn on Complete Email Reports as well. You’ll have the option to enable the Weekly Email Summary feature if you want to receive a summary of your logs each week.
Instant Email Alerts send you an email whenever your site fails to send an email. This lets you fix the problem quickly so your users don’t miss any important information.
Enable Additional Email Log Settings
If you enable email logs, the next step in the Setup Wizard will let you enable some additional settings related to this feature.
These options include:
- Store the content for all sent emails. This will store all the content of the emails sent from your WordPress site in its database. You must enable this option if you want to resend emails.
- Save file attachments sent from WordPress. This will save attachments from your WordPress emails in your site’s Uploads folder.
- Track when an email is opened. Enabling this option will let you see when recipients open emails from your site.
- Track when a link in an email is clicked. See when recipients have clicked links in your WordPress emails.
These email logging features are really useful for a variety of scenarios. For instance, if you’re running an online store with WooCommerce, you can audit order emails easily with the complete email logs at your disposal.
Check out how to log WordPress emails to see how it works.
For the final step of the Setup Wizard, copy the license key from the WP Mail SMTP account and paste it into the box to enable Pro features and future updates.
That’s it! You’ve done everything to configure SMTP settings on your WordPress website for outgoing emails.
Finally, we’ll show you some of our most useful Pro features: how to set up additional connections and how to resend emails from WordPress. If any of your WordPress email notifications fail, these features can help make sure they’re still delivered.
However, the steps below are optional and not necessary to configure WordPress email.
4. Set Up Additional Connections in WP Mail SMTP
WP Mail SMTP lets you connect your site to multiple mailers in the Additional Connections settings. This enables you to use 2 Pro features:
- Backup Connection: If an email fails to send using your Primary Connection (the mailer you set up in the earlier steps of this tutorial), then WP Mail SMTP will automatically try to send it again using your Backup Connection.
- Smart Routing: Set up conditional logic to route your emails through different mailers based on custom rules. This is useful if you’re sending different types of emails and want to use the best mailer for each one. For example, you can use a transactional mailer for your eCommerce order notifications and a different mailer for your newsletter and marketing emails.
To set up additional connections, go to WP Mail SMTP » Settings in your WordPress admin area and click Additional Connections.
Here you can set up your 2nd connection the same way you did the 1st one:
After you’ve filled in all the settings for your additional connection, you can setup a Backup Connection and / or Smart Routing.
Setting a Backup Connection
To set up a Backup Connection, go to the General settings page and scroll down to the Backup Connection section. Then select the mailer you want to use as your Backup Connection.
Click Save Settings when you’re done.
Configuring Smart Routing
To set up Smart Routing, go to the Smart Routing settings page. Here you can set up your conditions for sending emails using an additional connection.
Use the dropdowns to create your Smart Routing rule(s). Any emails that do not meet the conditions you set up here will be sent using your Primary Connection.
Click Save Settings when you’re done.
5. Resend Emails Using WP Mail SMTP
If a WordPress email fails, or you want to forward it, WP Mail SMTP makes it easy to resend any email with just a few clicks.
This feature is available in the Pro license or above.
To set up email resend, we need to make sure that you’re logging the entire contents of your emails first. If you didn’t enable this option in the Setup Wizard, go to WP Mail SMTP » Settings.
Next, click the Email Log tab to open your email log settings.
On this page, make sure you have the the Enable Log, Log Email Content, and Save Attachments settings are enabled in the plugin’s Email Log settings page:
Now you’ll want to send an email from your site so you have some data in your email log. For example, you could submit a message from your site’s contact form, or register a new user.
Once that’s done, we can test the email resend feature.
First, open WP Mail SMTP » Email Log to view your log entries.
Now click on View Log for any email that you want to resend.
In the email log screen, click the Resend button under Actions on the right sidebar.
A popup will appear to confirm the email recipient. You can change the recipient or add multiple email addresses separated by commas.
Click YES and WP Mail SMTP will resend that email to all addresses you type in.
If you want, you can also resend emails in bulk. To do that, you can select the emails and use the dropdown on the main email log screen to send them again.
This feature is ideal for resending failed emails quickly. It’ll automatically resend them to the email address they were originally sent to.
If all of your emails are failing to send, you might have made a mistake during the configuration.
You can troubleshoot the problem by using a test email to make sure there are no errors in the settings you’ve entered.
That’s it! You now know how to configure your WordPress SMTP settings to send email without issues.
Next, Check Your DNS Settings
If your DNS settings are not properly set up, you may notice your WordPress emails go to spam.
The DNS settings are usually held by your hosting company or domain registrar. You can start by creating a DMARC record for your domain. This will save your domain from being used to send phishing emails.
If you want to set up Gmail SMTP authentication you can see this article on sending WordPress emails from Gmail Alias.
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.
We have tried to get this to works – now 3 days in and still not working – also why are we being forced to buy another package from the mailers you use when we have already paid you?
I noticed that you have already contacted our support channel.
We will check your issue once we receive more information.
Can we forward an email from WP to a Yahoo email account
There’s no way to forward emails within WordPress. Usually, your WordPress notifications will be sent to the WordPress administrator email address. You can change that email address under the WordPress -> Settings -> General area or you need to set up email forwarding within your email account.
can i import email list on WP Mail SMTP or not i just need to know is it possible or no before i bought
We don’t have features like creating email campaigns, sending bulk emails to your lists, composing HTML newsletters, importing lists, or any other related email marketing capabilities within the WP Mail SMTP Pro plugin.
When you configure WP Mail SMTP plugin on your site, below are some examples of website email notifications that can be routed through your WP Mail SMTP configured mailer.
– WordPress user registration emails
– WordPress reset password emails
– Form email notifications (for example contact forms, quotation forms, payment forms created using WPForms plugin, Contact Form 7 or using similar plugins)
– Order notification emails (if you have an eCommerce store set up on your site)
– WordPress comment management emails (comment moderation / comment published)
Technically, all of your website emails sent with the WordPress default wp_mail() function will be routed through your WP Mail SMTP configured mailer.
Mailer: Other SMTP SMTP Error: Could not connect to SMTP host.
why 5 days and iam trying to fix it and it still not working
The error message indicates that your mail server refuses connection on port 25/465/587 and it is not able to connect to the remote mail server.
You’ll need to contact your hosting provider with that error report to fix the server configuration or to see if anything is blocking (Firewall or ModSecurity rules).
In the meantime, you may try setting up a different mailer instead of Other SMTP. You can see all the available mailers from here.
Also in case if you require further assistance, please post your question on our support forum.
I have purchased the plugins and use other smtp as a mailer. The other email address I tested works fine but when I use my email address [email protected] for test it does not work I’m not receiving any emails sent through the Gravity forms.
It looks like you have requested our white glove service.
Your email deliverability will be improved once we set up your WP Mail SMTP plugin.
Please assist me to resolve the following issue:
ErrorInfo: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 111 Additional SMTP info: Connection refused
The error message “Failed to connect to server: Connection refused” indicates that your web server refused SMTP connections on port 25/465/587, and it is not able to connect to the remote mail server.
You’ll need to contact your hosting provider with that error report to fix the server configuration or to see if anything is blocking (Server Firewall / ModSecurity).
I hope this helps. Thanks!
Not that you would do such a thing ;), but would it be theoretically *possible* for the plugin to read emails using the OAuth credentials, or is the read permission locked down from the Gmail side?
You’re actually creating a private Google APP, and you’re using your Client ID, Client Secret to connect to the APP.
We use various scopes of Gmail API to perform different tasks. For example, to send emails there’s one scope and to retrieve basic user info (like your optional Gmail alias addresses), there’s another scope.
We added that redirect through our site just so we could resolve the issue some users had with mod_security preventing them from completing the connection (when they were redirected back to their site, they got a 403 forbidden error – or something similar).
Basically, we cannot read data from our end. The actual Gmail mailer connection will be created between your WordPress site and your Google App.
As I have checked with our developers, we use the global scope to connect with Gmail / Google Workspace email platforms. In this way, if we push an update for a different scope, it will still be backward compatible. So the existing users won’t have to recreate Google connection every time there’s an API scope change.
I hope that’s clear. Thanks!
How we can configure the Cloudflare mailer
I apologize for the confusion, but Cloudflare is not a mailer. Cloudflare is a content delivery network (CDN) and cloud security platform that provides website optimization, security, and performance.
Basically, you can use Cloudflare service to manage your DNS records. For example, if you choose a mailer like SendLayer, here’s how you can use Cloudflare to manage SendLayer DNS records.
I hope this helps. Thanks!
Simplesmente é só mais um labirinto que não funciona. Não envia nada.
When you get a chance, could you please create a support thread with more details so that our support team should be able to assist you accordingly.
In case it helps, you can see all the available mailers from here.
I hope this helps. Thanks!
It seems I could, at last, do what I was planning to do. However, there is one little issue that is left undone. That is changing the email address only in the section “from” when I write a reply.
Because I want the potential receiver (who filled in the contact form) in my reply sees the message sent from a private email address and not my WP admin address, in spite of the fact I write reply using my Gmail account (in my case Gmail account is the admin account in WP where I receive the messages from “the contact form” ), whereas my private email account (OX Mail) is an Email set for my website with the same domain name.
Hope I made myself clear. So my questions are:
Is there any way or trick to make it as mentioned above?
Is it possible to change?
If yes, what should I change and where?
Thank you in advance,
If I understood correctly, you want to contact the user who filled out your form using a different “from email” address.
If you’re using Gmail, you have the ability to add an email alias by following this guide.
Then, when you reply to your emails within Gmail, you can change the “from email” address.
I hope this helps. Thanks!
Im trying to set up WP Mail SMTP and it is giving me this error message: Mailer: Sendinblue unauthorized: Key not found
How can I fix this?
When you access the SMTP & API section, by default, it will load the SMTP section instead of the API section.
You need to switch over to the API Keys tab to generate a new API key.
Once you update your API key under the WP Mail SMTP -> Settings page, you should be able to send a test email (WP Mail SMTP -> Tools).
I hope this helps. Thanks!