Find Exchange Online Hostnames for Microsoft 365 Email
Question details
Find the appropriate hostname or connection settings for a Microsoft 365 Exchange Online mailbox.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- A user needs to configure an email client or identify the server settings for an Exchange Online mailbox.
- Observed behavior
- Exchange Online provides published service endpoints rather than exposing individual Client Access Server or mailbox server names.
Identify the mailbox email address and the type of connection your client supports: Exchange, IMAP, POP, or SMTP. Check whether your organization permits the protocol and authentication method you plan to use.
Use published Exchange Online connection settings
Use the appropriate service endpoint instead of searching for an individual CAS or mailbox server name.
Microsoft manages the individual servers behind Exchange Online. The published hostnames are service endpoints, not the identities of specific mailbox servers.
In your email client's account setup, select Exchange for automatic configuration or select IMAP or POP if the client requires those protocols.
For an Exchange connection, enter your Microsoft 365 email address in the client's Add Account screen and follow the sign-in prompts. The client can use Autodiscover to obtain its connection settings.
For IMAP, enter outlook.office365.com with port 993 and SSL/TLS. For POP, enter outlook.office365.com with port 995 and SSL/TLS.
If the client needs a separate outgoing server, enter smtp.office365.com with port 587 and STARTTLS. Check with your Microsoft 365 administrator that SMTP authentication is allowed for the mailbox and tenant.
Check Microsoft Learn for the current Exchange Online connection and authentication requirements. Use a client that supports the authentication method required by your organization.

Use WPS Office for Documents Shared Through Microsoft 365
WPS Office is a free, lightweight alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its format support helps you move existing Office files into your workflow. It does not configure or repair Exchange Online connections.

Frequently Asked Questions
Can I find the individual CAS or mailbox server for my Exchange Online mailbox?
Microsoft manages those server identities and does not expose them in the same way as an on-premises Exchange deployment. Use the published Exchange Online service endpoints or automatic account configuration instead.
What hostname should I use for Microsoft 365 IMAP?
In your email client's IMAP settings, enter outlook.office365.com with port 993 and SSL/TLS. Your administrator must allow IMAP access, and the client must meet your organization's authentication requirements.
What is the outgoing SMTP server for Exchange Online?
For client SMTP submission, enter smtp.office365.com with port 587 and STARTTLS. Authenticated SMTP must be permitted for the tenant and mailbox, and the client must support the required authentication method.
Do I need to enter a server name when adding an Exchange account?
Often, no. In a compatible client's Add Account screen, enter your Microsoft 365 email address and follow the sign-in prompts. Autodiscover can provide the connection settings.




