Exchange Connection Problems

Microsoft 365 SMTP Server, Port, and Encryption Settings

Steven ParkerSteven Parker Nov 20, 2026 869 views

Question details

Find the outgoing SMTP and incoming POP3 and IMAP settings for Microsoft 365 email.

Microsoft 365 SMTP Server, Port, and Encryption Settings
Product
Microsoft 365 Exchange Online
Device & OS
not provided
Scenario
Setting up a Microsoft 365 mailbox in an email client or configuring a printer to send email.
Observed behavior
The user needs the correct server addresses, ports, and encryption options for sending and receiving mail.
Before you start

Have your Microsoft 365 email address and sign-in method available, and check whether your email client or printer supports the required TLS and authentication methods. POP3, IMAP, or SMTP AUTH may also need to be enabled for the mailbox.

Solution 1Recommended

Configure Microsoft 365 outgoing SMTP settings

Use these settings to send mail from a compatible email client through Microsoft 365.

1
Open outgoing mail settings

In your email client's account settings, open the outgoing server or SMTP settings.

2
Enter the server and port

Set the SMTP server to smtp.office365.com and the port to 587.

3
Choose encryption and sign in

Select STARTTLS or TLS for the SMTP encryption method, enable outgoing server authentication, and sign in using a method supported by your client and Microsoft 365 organization.

4
Test sending

Save the account settings and send a test message. If it fails, ask your Microsoft 365 administrator to check whether SMTP AUTH is enabled and permitted for the mailbox.

Configure Microsoft 365 outgoing SMTP settings
Authentication support: A device or client must support an authentication method allowed by the organization. Check current Microsoft guidance before relying on username-and-password authentication.
Free Microsoft Office alternative

Work with Office Documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and support for common Microsoft Office formats, making it easy to move your document workflow. It does not configure or replace Microsoft 365 email services.

Open and edit Microsoft Word, Excel, and PowerPoint formatsUse a familiar interface for a smooth move from Microsoft OfficeWork with documents you receive as email attachmentsAccess writing, spreadsheet, and presentation tools in one lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

What is the Microsoft 365 SMTP server and port?

Use smtp.office365.com on port 587 for SMTP client submission, with STARTTLS or TLS selected in the outgoing server settings.

What are the Microsoft 365 IMAP and POP3 settings?

Use outlook.office365.com with port 993 and SSL/TLS for IMAP, or port 995 and SSL/TLS for POP3. The chosen protocol must be enabled for the mailbox.

Why can't my printer send email through Microsoft 365?

Check the printer's outgoing email settings for port 587, STARTTLS or TLS, and a supported authentication method. Your administrator may also need to permit SMTP AUTH or configure a supported alternative.

Do I need SMTP settings to receive mail with IMAP?

IMAP handles incoming mail. To send from the same client, also configure its outgoing SMTP server as smtp.office365.com on port 587 with STARTTLS or TLS.