Are you looking for a way to connect Microsoft Outlook to WordPress and send emails from your WordPress site?
Sending emails directly from your WordPress site seems convenient. However, in our experience, it often comes with deliverability challenges. Your email provider might flag bulk messages, or your domain reputation could be impacting your reach.
That’s where a reliable platform like Microsoft Outlook comes in. Connecting Microsoft Outlook with WordPress helps improve email deliverability by making sure that your emails reach your subscribers’ inboxes, even if you are sending a lot of them.
In this article, we will show you how to easily connect Microsoft Outlook to WordPress, step by step.
Why Use Microsoft Outlook to Send WordPress Emails?
Microsoft Outlook is a great option for business owners who regularly use Office 365.
You can use your existing Microsoft Outlook account to send emails to your subscribers from your WordPress website.
The best thing about using Outlook is that it allows you to send a lot of emails at once. You can send up to 10,000 emails per day, which is a much higher limit than other mailing services.
If you have a busy online store, this will help you send receipts, tracking info, and abandoned cart emails to all your customers.
Another benefit that Microsoft Outlook provides is that you don’t have to use the default WordPress PHP mail() function to send emails.
There are many issues with the default mailing method. Plus, many WordPress hosting services don’t have PHP mail properly configured, which leads to email deliverability problems.
Your emails can end up in the spam folder because email service providers like Gmail can’t detect the email sender.
However, you can easily overcome this issue using an SMTP service provider to send emails in WordPress through your Outlook account.
What Is SMTP?
SMTP, or Simple Mail Transfer Protocol, is an industry-standard technology for sending emails.
It uses proper authentication, ensuring that your emails reach your users’ inboxes and don’t end up in the spam folder.
To send your emails, you can connect popular services like SendLayer, SMTP.com, Brevo, Office 365 / Outlook, Gmail, Amazon SES, and more.
That being said, let’s see how you can connect your Microsoft Outlook account to WordPress.
How to Connect Outlook to Your WordPress Site
The easiest way to add Microsoft Outlook to WordPress is by using the WP Mail SMTP plugin. It lets you securely use the Microsoft API to authenticate your site’s emails.
We will use the WP Mail SMTP Pro version for this tutorial because it includes an Office 365 / Outlook.com integration.
There is also a free version of WP Mail SMTP with multiple integrations, but it doesn’t let you connect your Outlook account with WordPress.
For more information about using the WP Mail SMTP plugin, you can check out our WP Mail SMTP review.
Set Up WP Mail SMTP
First, you will need to install and activate the WP Mail SMTP plugin on your WordPress website. You can refer to our step-by-step guide on how to install a WordPress plugin.
Note: It’s important to remember that the Outlook mailer will only work if you have an SSL certificate on your website. You can check out our guide on how to set up SSL on a WordPress site.
Upon activation, you can connect your Outlook account by going to WP Mail SMTP » Settings from your WordPress admin area.
On the settings page, you will see the ‘From Email’ and ‘From Name’ settings. You can skip these settings because your Outlook account’s settings will override them.
Below that, you will see different options next to the Mailer settings.
Go ahead and select ‘Outlook’ as your Mailer option.
Next, WP Mail SMTP will show a new section with settings for your Outlook account.
It will look like this.
To find the Application ID, Application Password, and Redirect URI, you must create a web application within a Microsoft Azure account. Don’t worry; we will walk you through how to do this step by step.
We recommend keeping the WP Mail SMTP Outlook settings open in a separate tab or window, as you will need to return to this page to enter the information.
You can use your existing Microsoft email account (Live, Outlook, Hotmail, Office 365, etc.) to log in to Microsoft Azure. Keep in mind that if you do so, then all your WordPress emails will be sent from that email address.
If you don’t have a Microsoft Outlook account or prefer to send messages from a different email address, you can go to the Microsoft Azure website and create your account. Just make sure that the account you create includes the permissions to send emails.
The account is free to create, and you don’t need any paid services to set up the mailer. However, Microsoft will ask you to enter your credit card information to reduce spam signups.
After that, you can log in to the Microsoft Azure Portal using the email address you want to use.
Create an Application ID
Once you have opened the Azure Portal, go ahead and click the ‘All services’ option from the sidebar on your left.
On the next screen, you will see different services offered by Microsoft Azure.
You can scroll down to the ‘Identity’ section and click on the ‘App registrations’ option.
After that, you will need to click the ‘+ New Registration’ button.
This will create your application.
Now, you need to enter a name for your application. This is for your own use, so you can change the name whenever you want.
For example, you can name it something like ‘WP Mail SMTP: yourdomain.com.’
As for the ‘Supported account types’ section below, it is a best practice to select the ‘Accounts in any organizational directory (Any Azure AD directory – Multitenant) and personal Microsoft accounts (for example, Skype, Xbox)’ option.
However, if you don’t see this option in your account types, then you can also select the ‘Accounts in any organizational directory (Any Azure AD directory – Multitenant)’ option.
After that, scroll down to the Redirect URI settings.
You can leave the dropdown settings to ‘Web’ for the first field in the form.
For the second field, you will need to enter the redirect URI address given in the WP Mail SMTP Outlook settings.
To find the Redirect URI, simply return to the WP Mail SMTP settings tab or window from your browser. Then copy the web address that is given in the ‘Redirect URI’ field.
You must paste the URL into the Microsoft Azure app registration form.
Next, just click the ‘Register’ button.
Microsoft Azure will now take you to another screen where you will see the Application (client) ID.
Simply click the ‘copy’ icon to copy your application ID.
After that, you can enter the application ID into the WP Mail SMTP settings.
To do that, you need to head over to your WP Mail SMTP settings window and paste the value into the ‘Application ID’ field.
Create an Application Password
Once you have entered the application ID, the next thing you need to do is create an application password.
You can start by clicking the ‘Certificates & secrets’ option in the sidebar on your left.
On the next screen, you can skip the Certificates section and scroll down to the Client Secrets section.
Then, just click the ‘+ New client secret’ option to add a client secret.
You will now see a new overlay window slide in from the right. In this window, you can enter a description and select a time period for the app password to expire.
Microsoft Azure lets you select a preset expiry time (3 months, 6 months (recommended), 12 months, 18 months, and so on), or you can set a custom timeframe.
We recommend selecting one of the preset settings when you are first starting out. You can always change the password expiry time to custom settings in the future.
When you are happy with the settings, just click the ‘Add’ button.
Then, Microsoft Azure will generate an application password. You can click the ‘Copy to clipboard’ trigger to copy the password under the Value column.
Next, you will need to enter this password in your WP Mail SMTP settings.
To do that, return to the WP Mail SMTP settings and then paste the password into the ‘Application Password’ field.
Set Up API Permissions
After setting up the Application ID and Application Password in WP Mail SMTP, the next step is to add API permissions.
To get started, you can click on the ‘API permissions’ option from the menu on your left.
Next, go ahead and click the ‘Add a permission’ button.
You will find it in the top-left corner.
When you click the button, a new window will slide in from the right to request API permissions.
You will have to select the ‘Microsoft Graph’ option to set up API permissions.
On the next screen, Microsoft Azure will ask what type of permissions your application requires.
You can select the ‘Delegated permissions’ option.
Next, you will see multiple options to select permissions.
However, an easier way to find the right settings is by entering the term ‘send’ in the search bar under the ‘Select permissions’ heading.
After that, you will have to select the ‘Mail’ tab from the options that appear and then click the checkbox for ‘Mail.Send.Shared’.
When you are ready, simply click the ‘Add permissions’ button at the bottom.
You will have to repeat the API permission steps by clicking on the ‘+ Add a permission’ button and selecting ‘Microsoft Graph’. However, this time, you need to select the ‘Application permissions’ option.
Now, you can enter the same search term, ‘send’, in the ‘Select permissions’ search bar.
When you see the Mail tab, click on it and then select the checkbox for ‘Mail.Send’.
Next, go ahead and click the ‘Add permissions’ button.
After setting up the API permissions, you will have to go back to the WP Mail SMTP settings and click on the ‘Save Settings’ button to finish the Outlook mailer configuration.
When you save the settings, you will have to scroll down to the Authorization section in the WP Mail SMTP settings.
Then, click the ‘Allow plugin to send emails using your Microsoft account’ button.
As soon as you click on the button, you will be redirected to the Microsoft permissions form.
All you have to do is click the ‘Yes’ button at the bottom. This will allow WP Mail SMTP to connect to your Microsoft account.
After that, you will be redirected back to the WP Mail SMTP settings page.
A notice will appear at the top showing that you are ready to send emails through Outlook.
You can now send a test email to check if everything works properly.
To send a test email, simply go to WP Mail SMTP » Settings and then click on the ‘Email Test’ tab at the top.
When you are happy with the settings, just click the ‘Send Email’ button at the bottom.
After sending the email, you must go to your inbox.
Here, you can check whether you received the test email.
Bonus: View Email Logs With WP Mail SMTP
Once you have connected Microsoft Outlook with WP Mail SMTP, you can easily view all your email logs right from the WordPress dashboard.
This will allow you to make sure that your emails are delivered to the user’s inbox and keep track of user activity.
To enable this feature, visit the WP Mail SMTP » Settings page and switch to the ‘Email Log’ tab. Next, toggle the ‘Enable Log’ switch and click the ‘Save Settings’ button.
Now, head over to the WP Mail SMTP » Email Log page from the WordPress admin sidebar. Here, you will be able to view a list of all the emails that you have sent since enabling the feature.
You can also view details for each individual entry by hovering your mouse over it and clicking the ‘Edit’ link.
This will direct you to a new screen where you can view the email address of the user, as well as the subject and body of the email you sent.
For details, see our tutorial on how to setup WordPress email logs.
Video Tutorial
If you’re not a fan of written instructions, you can also follow along with our video tutorial on how to connect Microsoft Outlook to WordPress:
We hope this article helped you learn how to connect Microsoft Outlook to WordPress. You may also want to check out our other WordPress guides that can help with your email marketing campaigns:
Best WordPress Email Guides for Your Website
- Best Email Marketing Services for Small Business
- How to Add Web Push Notification to Your WordPress Site
- Beginner’s Guide to WordPress Email Marketing Automation
- How to Create an Email Newsletter the RIGHT WAY (Step by Step)
- What Is An Email Blast? How To Do An Email Blast “The RIGHT Way”
- Revealed: Why Building an Email List is So Important Today
- How to Setup WordPress Email Tracking (Opens, Clicks, and More)
- How to Set Up Email Newsletter Tracking in Google Analytics
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Jiří Vaněk
One wouldn’t think how sometimes connecting SMTP can be difficult and other times easy. I’ve always been used to using SMTP on my own domains, where it was very straightforward. The biggest problem I encountered with SMTP was the first time I tried it with Gmail. Every time I have to connect someone’s SMTP to these services, I pray that someone has a similarly well-documented guide. At least now I know where to look for SMTP settings for Microsoft services when I need them.
WPBeginner Support
For Gmail SMTP we would recommend taking a look at our article below but we’re glad you found our guide helpful
https://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/
Admin
Jiří Vaněk
Thanks for the link. Sometimes Gmail settings are really troublesome for me. So I’d love to learn how you do it.