Skip to main content

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.

  1. Open the Microsoft 365 admin center.
  2. Find the mailbox under Users > Active users.
  3. Open Mail and then Email apps.
  4. 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​

  1. Open Settings > Email providers.
  2. Select Microsoft Outlook/Office 365.
  3. Choose the account type.
  4. Enter the full mailbox address.
  5. Enter the password or app password.
  6. 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​

ProblemWhat to check
535 5.7.3 Authentication unsuccessfulSMTP AUTH is disabled, the password is wrong, or the tenant blocks basic auth.
Login works in a mail app but not hereThe app may use OAuth. LetterPress needs a mailbox password or app password.
5.7.60 Send As deniedThe From address does not match the mailbox and has no Send As permission.
Personal account uses the wrong hostSet the account type to Outlook.com, not Microsoft 365.
Works, then stopsThe password changed, an admin disabled SMTP AUTH, or the account was locked.

Next steps​