Looking for a way to use your Microsoft Outlook account to send emails from your WordPress site?
Connecting Microsoft Outlook to WordPress helps improve delivery capabilities by ensuring that your emails reach your subscriber’s inbox, even if you send many of them.
In this article, we will show you step by step how to connect Microsoft Outlook to WordPress.
Why use Microsoft Outlook to send WordPress emails?
Using Microsoft Outlook is a great option for business owners who regularly use Office 365. You can use your existing account to send emails to your subscribers from your WordPress site.
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 Minute, which is a much higher limit than other postal services.
If you have a busy online store, this will help you send receipts, track info and abandoned emails to all your customers.
Another benefit that Microsoft Outlook provides is that you do not have to use the default WordPress PHP mail () function to send emails.
There are many issues with the standard shipping method. Many WordPress hosting services do not have PHP mail properly configured, leading to email delivery issues.
Your emails may end up in the spam folder because email service providers like Gmail cannot detect where the email is coming from.
However, you can easily resolve this issue by 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, which ensures that your emails reach your users’ inbox and do not end up in the spam folder.
You can connect to popular services like Microsoft Office 365, G Suite (Gmail), SMTP.com, SendinBlue or Amazon SES to send your emails.
That said, let’s see how you can connect your Microsoft Outlook account to WordPress.
Link Outlook to your WordPress site
The easiest way to add Microsoft Outlook to WordPress is by using the WP Mail SMTP plugin. It allows you to securely use the Microsoft API to authenticate your site’s email.
For this guide, we use the WP Mail SMTP Pro version because it includes Office 365 / Outlook.com integration.
There is also a free version of WP Mail SMTP that has 6 integrations, but it does not have the feature to connect your Outlook account with WordPress.
First, you need to install and enable the WP Mail SMTP plugin on your WordPress site. You can see our step-by-step guide on how to install a WordPress plugin.
Note: An important thing to remember is that the Outlook Mailer only works if you have an SSL certificate on your site. You can check out our guide on how to create SSL on a WordPress site.
After activation, you can connect to your Outlook account by going to WP Mail SMTP »Settings from your WordPress admin area.
On the settings page you can see the settings ‘From e-mail’ and ‘From name’. You can skip these settings as your Outlook account settings override them.
Below are various options for the Mailer settings. Go ahead and select ‘Outlook’ as your Mailer option.
Next, WP Mail SMTP displays a new section with settings for your Outlook account.
To find application ID, application password, and redirect URI, you must create a web application within a Microsoft Azure account. Don’t worry, we’ll walk you through how to do this step by step.
We recommend that you keep 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 sign in to Microsoft Azure. Remember that if you do, all your WordPress emails will be sent from that email address.
If you do not have a Microsoft Outlook account, or if you prefer to send from another email address, you can go to the Microsoft Azure website and create your account. Just make sure the account you create contains permissions to send emails.
The account is free to set up and you do not need any paid services to set up the mailer. However, Microsoft will ask you to enter your credit card information to reduce spam sign-ups.
You can then log in to the Microsoft Azure Portal using the email address you want to use.
Create an application ID
After opening the Azure Portal, go ahead and click on ‘All Services’ from the left sidebar.
On the next screen you will see various services offered by Microsoft Azure. You can scroll down to the ‘Other’ section and click on the ‘App Registrations’ option.
Then click on the ‘+ New Registration’ button to create your application.
Now enter a name for your application. This is for your own use, so you can change the name whenever you want. For example, you could name it something like ‘WP Mail SMTP: yourdomain.com.’
For the ‘Supported account types’ section below, it is best practice to select ‘Accounts in any organization folder (Any Azure AD folder – Multitenant) and personal Microsoft accounts (eg Skype, Xbox)’.
However, if you do not see this option under your account types, you can also select ‘Accounts in any organization folder (Any Azure AD folder – Multitenant)’.
Then scroll down to the URI redirection settings. You can leave the drop-down list settings to the Internet for the first field in the form.
In the second field, enter the redirection URI address specified 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 URL specified in the Redirect URI field.
Next, you can paste the URL into the Microsoft Azure app registration form and click the Register button.
Microsoft Azure now takes you to another screen where you can see the Application (client) ID. Just click the ‘Copy to Clipboard’ button to copy your application ID.
You can then enter the copied application ID in the WP Mail SMTP settings. To do so, simply go to your WP Mail SMTP settings window and enter the value in the Application ID field.
Create an application password
Once you have entered the application ID, the next thing to do is create an application password.
You can start by clicking on ‘Certificates and Secrets’ in the sidebar on the left.
On the next screen, you can skip the Certificates section and scroll down to the Client Secrets section. Then click on ‘+ New client secret’ 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 during which the app password expires.
Microsoft Azure allows you to select a preset expiration time (3 months, 6 months, 12 months, etc.), or you can set a custom time frame.
We recommend selecting one of the preset settings when you first start. You can always change the password expiration time to custom settings in the future.
When you are satisfied with the settings, click the Add button.
As soon as you click the Add button, Microsoft Azure generates an application password. You can go ahead and click the ‘Copy to Clipboard’ button to copy the password entered under the Value column.
Then enter this password in your WP Mail SMTP settings. To do so, return to the WP Mail SMTP settings and then enter the password in 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 permission option in the menu on the left.
Then go ahead and click on the ‘Add a Permit’ button.
When you click the button, a new window slides in from the right to request API permissions. You will need to select the Microsoft Graph option to configure API permissions.
On the next screen, Microsoft Azure asks what type of permissions your application requires. You can select the ‘Delegate permissions’ option.
Next, you will see several options for selecting permissions. However, an easier way to find the right settings is by entering the phrase ‘send’ in the search box under the heading ‘Select permissions’.
Then select the May tab from the options that appear, and then click the Mail.Send.Shared check box.
When you are done with the settings, click on the ‘Add Permissions’ button at the bottom.
You will need to repeat the API permission steps again by clicking the ‘+ Add a permission’ button and again selecting ‘Microsoft Graph’. This time, however, select the ‘Application Permissions’ option.
You can now enter the same search term ‘send’ in the search box Select permissions. When you see the Mail tab, click it and then select the Mail.Send check box.
Then go ahead and click on the ‘Add Permissions’ button.
After setting up API permissions, go back to the WP Mail SMTP settings and then click the Save Settings button to complete the Outlook mailer configuration.
Once you save the settings, scroll down to the Authorization section of the WP Mail SMTP settings and click the ‘Allow plugin to send emails using your Microsoft account’ button.
As soon as you click the button, you will be redirected to the Microsoft permission form. All you have to do is click the Yes button at the bottom. This allows WP Mail SMTP to connect to your Microsoft account.
You will then be redirected back to the WP Mail SMTP settings page and a message will appear at the top indicating that you are ready to send emails through Outlook.
You can now send a test email to check if everything is working 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 satisfied with the settings, just click the Send Email button at the bottom.
After sending the email, you can go to your inbox and check if you have received the test email.
We hope this article helped you learn how to connect Microsoft Outlook to WordPress. It may also be a good idea to check out our comparison of the best small business email marketing services and our complete guide on how to add web push notifications in WordPress.
If you liked this article, subscribe to our YouTube channel for WordPress video tutorials. You can also find us at Twitter and Facebook.