Setup SMTP with Office 365 (2024)

This article explains how you can send email from devices and business applications when all of your mailboxes are in Office 365, such as a scanner, and you want to email scanned documents to yourself or someone else.

Authenticate your device or application directly with an Office 365 mailbox, and send mail using SMTP client submission:

More than one method is available to set up SMTP with Office 365, this option supports most usage scenarios and it's the easiest to set up. Choose this option when:

  • You want to send email from a third-party hosted application, service, or device(such as a Printer/Scanner)

  • You want to send email to people inside and outside your organization.

To configure your device or application, connect directly to Office 365 using the SMTP client submission endpointsmtp.office365.com.

Each device/application must be able to authenticate with Office 365. The email address of the account that's used to authenticate with Office 365 will appear as the sender of messages from the device/application.

Enter the following settings directly on your device or in the applicationas their guide instructs(it might use different terminology than this article). As long as your scenario meets the requirements for SMTP client submission, the following settings will enable you to send email from your device or application.

Device or Application settingValue
Server/smart hostsmtp.office365.com
PortPort 587 (recommended) or port 25
TLS/StartTLSEnabled
Username/email address and passwordEnter the sign in credentials of the hosted mailbox being used

Option 2 Configure a connector to send mail using Office 365 SMTP relay:

This option is more difficult to implement than the others. Only choose this option when:

  • SMTP client submission (Option 1) is not compatible with your business needs or with your device

SMTP relay lets Office 365 relay emails on your behalf by using a connector that's configured with your public IP address or TLS a certificate. Setting up a connector makes this a more complicated option.

Settings for Office 365 SMTP relay:

Device or application settingValue
Server/smart hostYour MX endpoint, e.g.yourdomain-com.mail.protection.outlook.com
PortPort 25
TLS/StartTLSEnabled
Email addressAny email address in one of your Office 365 verified domains. This email address does not need a mailbox.

If you already have a connector that's configured to deliver messages from your on-premises organization to Office 365 (for example, a hybrid environment), you probably don't need to create a dedicated connector for Office 365 SMTP relay. If you need to create a connector, use the following settings to support this scenario:

Connector settingValue
FromYour organization's email server
ToOffice 365
Domain restrictions: IP address/rangeYour on-premises IP address or address range that the device or application will use to connect to Office 365

We recommend adding an SPF record to avoid having messages flagged as spam. If you are sending from a static IP address, add it to your SPF record in your domain registrar's DNS settings as follows:

DNS entryValue
SPFv=spf1 ip4:<Static IP Address> include:spf.protection.outlook.com -all

Step-by-step configuration instructions for SMTP relay:

  1. Obtain the public (static) IP address that the device or application with send from. A dynamic IP address isn't supported or allowed. You can share your static IP address with other devices and users, but don't share the IP address with anyone outside of your company. Make a note of this IP address for later.

  2. Sign in to Office 365.

  3. SelectDomains. Make sure your domain, such as contoso.com, is selected. ClickManage DNSand find the MX record. The MX record will have aPOINTS TO ADDRESSvalue that looks similar to cohowineinc-com.mail.protection.outlook.com as depicted in the following screenshot. Make a note of the MX recordPOINTS TO ADDRESSvalue. You'll need this later.

    Setup SMTP with Office 365 (1)

  4. Check that the domains that the application or device will send to have been verified. If the domain is not verified, emails could be lost, and you won't be able to track them with the Exchange Online message trace tool.

  5. In Office 365, clickAdmin, and then clickExchangeto go to the Exchange admin center.

  6. In the Exchange admin center, go toMail flow>Connectors.

  7. Check the list of connectors set up for your organization. If there is no connector listed from your organization's email server to Office 365, create one:

    1. To start the wizard, click the plus symbol+. On the first screen, choose the options that are depicted in the following screenshot:

      Setup SMTP with Office 365 (2)

    2. ClickNext, and give the connector a name.

    3. On the next screen, choose the optionBy verifying that the IP address of the sending server matches one of these IP addresses that belong to your organization, and add the IP address from step 1.

    4. Leave all the other fields with their default values, and selectSave.

  8. Now that you are done with configuring your Office 365 settings, go to your domain registrar's website to update your DNS records. Edit your SPF record. Include the IP address that you noted in step 1. The finished string should look similar to thisv=spf1 ip4:10.5.3.2 include:spf.protection.outlook.com ~all, where 10.5.3.2 is your public IP address. Skipping this step can cause email to be sent to recipients' junk mail folders.

  9. Now, go back to the device, and in the settings, find the entry for Server or Smart Host, and enter the MX recordPOINTS TO ADDRESSvalue that you recorded in step 3.

  10. To test the configuration, send a test email from your device or application, and confirm that it was received by the recipient.

Source: https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3

Setup SMTP with Office 365 (2024)

FAQs

How to setup SMTP server in Microsoft 365? ›

To send emails via Office 365 SMTP, enter the following settings into your app or email client:
  1. SMTP server name: smtp.office365.com.
  2. SMTP port: Port 587 (recommended) or port 25.
  3. TLS/StartTLS: Enabled.
  4. Username/email address: john.doe@yourcompanyname.com.
  5. Password: Your Office 365 password.
Apr 11, 2024

What are the limitations of Office 365 SMTP? ›

Office 365 users are limited by the following: 10,000 sent email messages per day. 500 recipients total for a single email. 30 emails sent per minute.

Does Office 365 still support SMTP? ›

Remember that Microsoft 365 disables SMTP authentication by default, so you need to enable it for each mailbox that you want to use via the Microsoft 365 admin center. Or, you can also connect via OAuth instead of entering the SMTP server details directly.

How to get SMTP server details from Office 365 admin center? ›

Head to your Account Settings in Outlook 365, followed by Manage Profiles and Email Accounts. Select the Email tab, and then double-click the email address you want to find the SMTP for—it's typically something like "smtp.yourprovider.com."

What is the SMTP protocol for Office 365? ›

OFFICE 365 SMTP SETTINGS
  • Server Address: smtp.office365.com.
  • Username: Your Office 365 Address (e.g. example@yourdomain.com)
  • Password: Your Office 365 Password.
  • Port Number: 587 (With TLS)
  • Authentication: Required.
  • Sending Limits: 10,000 Emails a day.

What is the weakness of SMTP? ›

Disadvantages of Simple Mail Transfer Protocol

Security is the bigger problem. The firewalls can block the common port of SMTP. If the message exceeds a certain length, then in such cases SMTP may reject the entire message. Sometimes delivery gets delayed because of back and forth processing between the servers.

How to check SMTP settings in Outlook 365? ›

In Outlook Web App, on the toolbar, select Settings. > Mail > POP and IMAP. The POP3, IMAP4, and SMTP server name and other settings you may need to enter are listed on the POP and IMAP settings page.

Is Office 365 SMTP server down? ›

Everything is up and running.

Is Microsoft getting rid of SMTP? ›

Today, we are announcing that Exchange Online will permanently remove support for Basic authentication with Client Submission (SMTP AUTH) in September 2025.

Does Outlook still use SMTP? ›

If you're trying to add your Outlook.com account to Outlook or another mail app, you might need the POP, IMAP, or SMTP settings. You can find them below or by viewing them in your Outlook.com settings.

Is SMTP deprecated? ›

May 9, 2024

By September 2025, the increasingly outdated Basic auth method will have been phased out completely and replaced by the OAuth protocol when using Microsoft email relay functionality (SMTP AUTH). This will only affect client applications that use Microsoft to send email using their servers.

How to setup SMTP server for Office 365? ›

Step-by-step configuration instructions for SMTP relay:
  1. Obtain the public (static) IP address that the device or application with send from. ...
  2. Sign in to Office 365.
  3. Select Domains. ...
  4. Check that the domains that the application or device will send to have been verified.

How do I add SMTP address to o365? ›

In the EAC, navigate to Recipients > Mailboxes. On the mailbox properties page, click Email Address. On the Email Address page, the primary SMTP address is displayed in bold text in the address list, with the uppercase SMTP value in the Type column. , and then click SMTP to add an SMTP email address to this mailbox.

How do I check my SMTP server settings? ›

Here's how you can find it:
  1. Log in to your email account.
  2. Navigate to your account settings or options.
  3. Look for the SMTP server address in the outgoing mail SMTP settings.
Jun 15, 2023

How to set up a SMTP server? ›

How to Install and Configure SMTP Server on Windows
  1. Step 1: Add Roles and Features in Server Manager Dashboard.
  2. Step 2: Select Installation Type.
  3. Step 3: Select Destination Server.
  4. Step 4: Select Server Role.
  5. Step 5: Select Features.
  6. Step 6: Install Missing Features.
  7. Step 7: Confirm Installation.
Mar 1, 2023

How do I setup an SMTP server in Outlook? ›

Outlook SMTP Settings
  1. Server Address: smtp-mail.outlook.com.
  2. Username: Your Outlook Email Address (e.g. example@outlook.com)
  3. Password: Your Outlook Password.
  4. Port Number: 587 (With TLS)
  5. Alternative Port Number: 25 (Without TLS/SSL)
  6. Sending Limits: 300 Emails a day or 100 recepients a day.

How do I set up an Office 365 SMTP relay with connectors? ›

1. Set up a connector from your email server to Microsoft 365 or Office 365
  1. Navigate to Mail flow > Connectors. ...
  2. Click + Add a connector. ...
  3. Under Connection from, choose Your organization's email server. ...
  4. Click Next. ...
  5. Provide a name for the connector and click Next.
Feb 21, 2023

Top Articles
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 6091

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.