How to Set Up Outlook and Microsoft 365 SMTP in WordPress
The Microsoft Outlook/Office 365 card sends through smtp-mail.outlook.com for Outlook.com or smtp.office365.com for Microsoft 365. Both use port 587 with TLS.
Microsoft has tightened SMTP login rules over the years. The most common failure is not a wrong password. It is a mailbox or tenant that blocks SMTP AUTH. A tenant is your organization's Microsoft 365 account. SMTP AUTH is the login method that lets an app send mail through the mailbox.
Before you begin
- An Outlook.com, Hotmail, Live, or Microsoft 365 mailbox.
- The mailbox password, or an app password when two-step verification is on.
- For Microsoft 365, an admin who can enable SMTP AUTH for the mailbox.
Step 1: Choose the account type
In the LetterPress card, set Account type:
- Outlook.com for
@outlook.com,@hotmail.com, and@live.com. - Microsoft 365 for work or school accounts on a custom domain.
The host changes with this choice. Do not use the Microsoft 365 host for a personal Outlook.com account.
Step 2: Enable SMTP AUTH for Microsoft 365
This step is only for Microsoft 365.
- Open the Microsoft 365 admin center.
- Find the mailbox under Users > Active users.
- Open Mail and then Email apps.
- Make sure Authenticated SMTP is turned on.
Microsoft disabled basic authentication for many tenants. If the mailbox still rejects the login, check the tenant's authentication policy. An admin may need to allow SMTP AUTH for this mailbox or for a service account.
Step 3: Enter the details in LetterPress
- Open Settings > Email providers.
- Select Microsoft Outlook/Office 365.
- Choose the account type.
- Enter the full mailbox address.
- Enter the password or app password.
- Save changes. Set this provider as default if the button is shown. Then click Test connection.
Step 4: Check the From address
Open Settings > Sender identity. The From address must be the mailbox itself, or an address the mailbox has Send As permission for.
Without that permission, Microsoft rejects the message or rewrites the sender.
Step 5: Send a test
Click Send test email on the card. Then send a test email from Settings > Sender identity.
Common problems
| Problem | What to check |
|---|---|
535 5.7.3 Authentication unsuccessful | SMTP AUTH is disabled, the password is wrong, or the tenant blocks basic auth. |
| Login works in a mail app but not here | The app may use OAuth. LetterPress needs a mailbox password or app password. |
5.7.60 Send As denied | The From address does not match the mailbox and has no Send As permission. |
| Personal account uses the wrong host | Set the account type to Outlook.com, not Microsoft 365. |
| Works, then stops | The password changed, an admin disabled SMTP AUTH, or the account was locked. |
Next steps
- Review SMTP authentication failed.
- Confirm your domain with Email authentication.
- If you move from another SMTP plugin, read SMTP migration.