BlogOutlook
Outlook SMTP settings (2026) for Outlook.com and Microsoft 365
Microsoft runs two services that people call Outlook. Outlook.com is for personal accounts, including Hotmail and Live addresses. Exchange Online is for Microsoft 365 work and school accounts. They use different SMTP servers and different sign-in rules. If a printer, script or website sends through Microsoft 365 with a password, it stops working by default at the end of December 2026, so check the timeline section.
Short answer
For Outlook.com and Hotmail, the SMTP server is smtp-mail.outlook.com on port 587 with STARTTLS. For Microsoft 365 work accounts, it is smtp.office365.com on port 587 with STARTTLS. Both use outlook.office365.com for IMAP (port 993) and POP (port 995). Outlook.com accepts only OAuth (modern authentication) since September 16, 2024. Microsoft 365 still allows basic authentication for SMTP AUTH, but Microsoft will turn it off by default for existing tenants at the end of December 2026.
Outlook server settings
| Account and protocol | Server | Port | Encryption |
|---|---|---|---|
| Outlook.com SMTP, outgoing[1] | smtp-mail.outlook.com | 587 | STARTTLS, OAuth2 / modern authentication |
| Outlook.com IMAP, incoming[1] | outlook.office365.com | 993 | SSL/TLS, OAuth2 / modern authentication |
| Outlook.com POP, incoming[1] | outlook.office365.com | 995 | SSL/TLS, OAuth2 / modern authentication |
| Microsoft 365 SMTP, outgoingSources[4]Microsoft Learn: POP3 and IMAP4 in Exchange Online[5]Microsoft Learn: send email from a device or application with Microsoft 365 | smtp.office365.com | 587 | STARTTLS (TLS 1.2 or 1.3) |
| Microsoft 365 IMAP, incoming[4] | outlook.office365.com | 993 | SSL/TLS |
| Microsoft 365 POP, incoming[4] | outlook.office365.com | 995 | SSL/TLS |
Outlook.com and Hotmail settings
The Outlook.com and Hotmail SMTP server is smtp-mail.outlook.com on port 587 with STARTTLS. IMAP and POP use outlook.office365.com on ports 993 and 995, and all three sign in with OAuth2 and your full email address.[1]
- SMTP server:
smtp-mail.outlook.com, port587, STARTTLS - IMAP server:
outlook.office365.com, port993, SSL/TLS - POP server:
outlook.office365.com, port995, SSL/TLS - Authentication: OAuth2 / modern authentication for all three
- Username: your full Outlook.com, Hotmail, or Live email address
Microsoft says POP and IMAP access is disabled by default on Outlook.com, so turn it on in your Outlook.com settings before you connect another client.[1]
Outlook.com sending limits depend on the account. For Microsoft 365 subscribers, Microsoft lists 5,000 recipients a day, 500 recipients per message, and 1,000 recipients a day you have never emailed before. Accounts without a subscription get lower limits, which can change with the account's history.[3]
Outlook.com requires OAuth
Outlook.com accepts only OAuth2 sign-in for POP, IMAP and SMTP since September 16, 2024. An app that sends your username and password fails to connect.[2]
Your email app must support modern authentication (OAuth2) for POP, IMAP, and SMTP. That means the app opens a Microsoft sign-in window instead of asking for a password in its own settings form.Sources[2]Microsoft: modern authentication now needed for Outlook.com in other apps[1]Microsoft: POP, IMAP, and SMTP settings for Outlook.com
- Thunderbird: set the authentication method for the incoming server and for SMTP to OAuth2, or remove the account and add it again so Thunderbird detects the right settings.
- Apple Mail: remove the account and add it back, choosing Outlook.com as the account type.
- Classic Outlook for Windows: create a new profile and add the Outlook.com account through automatic setup, instead of a POP or IMAP account.
- Any other app: look for an Outlook.com option when adding the account. If there is none, ask the app's developer whether it supports modern authentication.
Microsoft 365 (Exchange Online) settings
The Microsoft 365 SMTP server is smtp.office365.com on port 587 with STARTTLS. IMAP and POP use outlook.office365.com on ports 993 and 995, and you sign in with the mailbox's full address.Sources[4]Microsoft Learn: POP3 and IMAP4 in Exchange Online[5]Microsoft Learn: send email from a device or application with Microsoft 365
- SMTP server:
smtp.office365.com, port587(recommended) or25, STARTTLS with TLS 1.2 or 1.3 - IMAP server:
outlook.office365.com, port993, SSL/TLS - POP server:
outlook.office365.com, port995, SSL/TLS - Username: the full sign-in address of the mailbox
Port 465 does not work. Microsoft says that if a device or application recommends or defaults to port 465, it does not support the TLS versions that Microsoft 365 requires for client SMTP submission. Use the host name smtp.office365.com, not an IP address.[5]
Exchange Online turns POP and IMAP on by default, but an organization that uses security defaults has them turned off. Basic authentication for POP and IMAP is already disabled in every tenant, so IMAP and POP clients must sign in with OAuth.Sources[4]Microsoft Learn: POP3 and IMAP4 in Exchange Online[7]Microsoft Learn: deprecation of basic authentication in Exchange Online
Microsoft 365 limits client SMTP submission to 10,000 recipients per day and 30 messages per minute.[5]
Outlook IMAP settings
The Outlook IMAP server is outlook.office365.com on port 993 with SSL/TLS, for both Outlook.com and Microsoft 365. Sign in with your full email address over OAuth2.Sources[1]Microsoft: POP, IMAP, and SMTP settings for Outlook.com[4]Microsoft Learn: POP3 and IMAP4 in Exchange Online
- Incoming mail server:
outlook.office365.com, for both Outlook.com and Microsoft 365 - Port:
993 - Encryption: SSL/TLS
- Username: your full email address
- Authentication: OAuth2 (modern authentication)
On Outlook.com, Hotmail and Live accounts, IMAP is off by default. Turn it on before you add the account to another app:[1]
- Step 1
Open mail settings
In Outlook.com, open Settings, then Mail, then Forwarding and IMAP.
- Step 2
Turn on IMAP
Under POP and IMAP, turn on Let devices and apps use IMAP.
- Step 3
Save
Select Save, then add the account in your app with the settings above.
On Microsoft 365, IMAP is on by default unless your organization uses security defaults, which turn it off. Basic authentication for IMAP is already disabled in every tenant, so the app must sign in with OAuth.Sources[4]Microsoft Learn: POP3 and IMAP4 in Exchange Online[7]Microsoft Learn: deprecation of basic authentication in Exchange Online
SMTP AUTH in Microsoft 365
Sending through smtp.office365.com from an IMAP or POP client, a script, or a scanner uses SMTP AUTH (Microsoft also calls it client SMTP submission). Most current Microsoft apps, such as Outlook and Outlook on the web, do not use it. Microsoft recommends turning SMTP AUTH off for the organization and enabling it only for mailboxes that need it.[6]
- SMTP AUTH is disabled for organizations created after January 2020, but an administrator can enable it per mailbox.
- Security defaults turn SMTP AUTH off.
- An administrator enables it for one mailbox in the Microsoft 365 admin center: Users, Active users, select the user, Mail, Manage email apps, then check Authenticated SMTP.
If you get the error 5.7.60 Client doesn't have permissions to send as this sender, the account you signed in with is sending as a different mailbox. That account needs Send As permission on the other mailbox.[5]
Basic authentication for SMTP AUTH: the timeline
Microsoft turns off basic authentication for SMTP AUTH by default for existing Microsoft 365 tenants at the end of December 2026, and will announce the final removal date in the second half of 2027. SMTP AUTH supports both OAuth and basic authentication (a username and password). Microsoft's Learn page says SMTP AUTH with basic authentication is still available, that Microsoft has announced its retirement, and that the Exchange Team's latest announcement holds the current dates.Sources[8]Microsoft Exchange Team: updated SMTP AUTH basic authentication deprecation timeline[7]Microsoft Learn: deprecation of basic authentication in Exchange Online
- Step 1
Now to December 2026
SMTP AUTH basic authentication works as it does today.
- Step 2
End of December 2026
Basic authentication for SMTP AUTH is disabled by default for existing tenants. Administrators can still turn it back on.
- Step 3
New tenants created after December 2026
Basic authentication for SMTP AUTH is not available by default. OAuth is the supported method.
- Step 4
Second half of 2027
Microsoft will announce the final removal date.
If a device or script sends with a username and password today, plan the change before the end of December 2026. Microsoft's alternatives are OAuth for SMTP AUTH, High Volume Email for mail to internal recipients only, Azure Communication Services Email for internal and external recipients, or SMTP relay through a connector on port 25 to your domain's MX endpoint, authenticated by a certificate or a static IP address.[5]
Common Outlook SMTP problems
Most Outlook SMTP problems come from authentication or the port. Outlook.com needs OAuth2 instead of a password, and Microsoft 365 needs SMTP AUTH enabled for the mailbox and port 587 instead of 465.Sources[2]Microsoft: modern authentication now needed for Outlook.com in other apps[5]Microsoft Learn: send email from a device or application with Microsoft 365[6]Microsoft Learn: enable or disable SMTP AUTH in Exchange Online
- The app keeps asking for your password on Outlook.com: it is trying basic authentication. Switch the app to OAuth2, or remove and add the account again as Outlook.com.
- Authentication fails on Microsoft 365: check that SMTP AUTH is enabled for the mailbox and that the organization does not use security defaults.
- Connection fails on port 465: Microsoft 365 needs port 587 with STARTTLS and TLS 1.2 or 1.3.
- IMAP or POP will not connect on Outlook.com: turn on POP and IMAP access, which is off by default.
- Sending stops partway through the day: you reached a recipient limit. Wait for it to reset, and send bulk mail through a service built for it.
Sending from an app, a script or another mail app
A website, CRM or script that sends through Outlook.com with a password already fails, because Outlook.com has required OAuth since September 2024. On Microsoft 365, the same setup works until basic authentication goes off by default at the end of December 2026. An email API skips the problem, because it signs in with an API key, not a mailbox password.Sources[8]Microsoft Exchange Team: updated SMTP AUTH basic authentication deprecation timeline[2]Microsoft: modern authentication now needed for Outlook.com in other apps
Shipmail's email API sends from a subdomain of your domain, with API keys you can limit to specific domains and mailboxes, test keys that deliver nothing, signed delivery webhooks, and replies that land in a mailbox your team reads. There are TypeScript and Python SDKs and a CLI.Sources[11]Shipmail transactional email documentation[12]Shipmail API authentication documentation[13]Shipmail sandbox documentation[14]Shipmail webhooks documentation
For a person's mailbox, a Shipmail address connects to any client: server mx1.shipmail.to, SMTP on port 465 with SSL/TLS or 587 with STARTTLS, IMAP on port 993, your full email address as the username, and the mailbox password or an app password.[10]
If you read an Outlook.com or custom-domain mailbox in Gmail and reply with Send as, Google says Gmail will stop supporting Send as for third-party addresses in January 2027.[9]
Sources14 sourcesVerified 2026-11-09
- [1]Microsoft: POP, IMAP, and SMTP settings for Outlook.com
Outlook.com settings: IMAP outlook.office365.com port 993 SSL/TLS, POP outlook.office365.com port 995 SSL/TLS, SMTP smtp-mail.outlook.com port 587 STARTTLS, all with OAuth2/Modern Auth. Username is your email address. POP and IMAP access is disabled by default: turn it on in Settings, Mail, Forwarding and IMAP, Let devices and apps use IMAP, Save. Outlook.com requires Modern Auth / OAuth2.
support.microsoft.com · 2026-10-11
- [2]Microsoft: modern authentication now needed for Outlook.com in other apps
Basic authentication stopped working for every Outlook.com account on September 16, 2024. Apps that connect over POP, IMAP, or SMTP must support modern authentication; Microsoft gives steps for Outlook, Thunderbird, and Apple Mail.
support.microsoft.com · 2026-10-15
- [3]Microsoft: sending limits in Outlook.com
For Microsoft 365 subscribers, Outlook.com allows 5,000 recipients a day, 500 recipients per message, and 1,000 non-relationship recipients a day. The attachment size limit for files is 25 MB, and 2 GB for OneDrive files. Non-subscribers get lower limits, which can change with account history.
support.microsoft.com · 2026-10-15
- [4]Microsoft Learn: POP3 and IMAP4 in Exchange Online
Settings for Exchange Online mailboxes: POP3 outlook.office365.com port 995 SSL/TLS, IMAP4 outlook.office365.com port 993 SSL/TLS, SMTP smtp.office365.com port 587 STARTTLS. POP3 and IMAP4 are enabled by default, and turned off when security defaults are on.
learn.microsoft.com · 2026-10-11
- [5]Microsoft Learn: send email from a device or application with Microsoft 365
Client SMTP submission uses smtp.office365.com on port 587 (recommended) or 25 with TLS 1.2 or 1.3 and the mailbox's sign-in, limited to 10,000 recipients per day and 30 messages per minute. A device that defaults to port 465 does not support the required TLS. SMTP AUTH is disabled for organizations created after January 2020 but can be enabled per mailbox. Also covers SMTP relay and Direct Send on port 25.
learn.microsoft.com · 2026-10-11
- [6]Microsoft Learn: enable or disable SMTP AUTH in Exchange Online
SMTP AUTH supports OAuth as well as basic authentication. Microsoft recommends disabling it for the organization and enabling it only for mailboxes that need it, in the Microsoft 365 admin center under Manage email apps, Authenticated SMTP. Security defaults turn SMTP AUTH off.
learn.microsoft.com · 2026-10-11
- [7]Microsoft Learn: deprecation of basic authentication in Exchange Online
Basic authentication is disabled for POP, IMAP, EAS, EWS, and other protocols in all tenants. SMTP AUTH is still available with basic authentication, but Microsoft has announced its retirement and points to the Exchange Team's latest timeline.
learn.microsoft.com · 2026-10-15
- [8]Microsoft Exchange Team: updated SMTP AUTH basic authentication deprecation timeline
Microsoft's current timeline, published January 27, 2026: SMTP AUTH basic authentication is unchanged until December 2026; at the end of December 2026 it is disabled by default for existing tenants, and administrators can still enable it; new tenants created after December 2026 do not have it by default and use OAuth; Microsoft will announce the final removal date in the second half of 2027.
techcommunity.microsoft.com · 2026-10-11
- [9]Google Gmail Send as help page
Google's notice that Gmail stops supporting Send as for third-party email addresses starting January 2027, and its stated exceptions for Google Workspace aliases and other Gmail addresses you own.
support.google.com · 2026-11-01
- [10]Shipmail email client connection settings
Shipmail IMAP, SMTP, and JMAP settings: mx1.shipmail.to, IMAP on port 993 with SSL/TLS, SMTP on port 465 with SSL/TLS or 587 with STARTTLS, the full email address as username, and the mailbox password or an app password.
shipmail.to · 2026-10-15
- [11]Shipmail transactional email documentation
Shipmail transactional email: an app sends from its own sending subdomain of a domain already verified in Shipmail, and replies go to a Shipmail mailbox. Sends count toward the plan's monthly quota, a sender costs nothing extra, Activity shows delivery status, and a retry with the same Idempotency-Key returns the first message. Every email from a sender carries its mailbox's address as Reply-To, so replies arrive in that mailbox's Transactional folder; the sending address itself cannot receive email. On a paid plan, an organization's transactional email starts at a safety limit of 1,000 recipients a day, raised daily to twice the highest clean day of the last 7 days, up to 25,000 automatically; the plan keeps 80% of its daily limit as a floor; a migration review with the last 30 days gets an answer within one business day.
shipmail.to · 2026-11-09
- [12]Shipmail API authentication documentation
Shipmail API keys have scopes and can be limited to specific domains and mailboxes; live and test keys are separate.
shipmail.to · 2026-10-15
- [13]Shipmail sandbox documentation
Shipmail test keys simulate sends without delivering them and can simulate a delivery, a bounce or a complaint.
shipmail.to · 2026-10-15
- [14]Shipmail webhooks documentation
Shipmail webhook events such as message.received, mailbox and domain scoping, signing, retries, and the optional Authorization header sent with each delivery.
shipmail.to · 2026-10-15
Questions worth answering
Common questions about outlook smtp settings.
What is the SMTP server for Outlook.com?
smtp-mail.outlook.com on port 587 with STARTTLS. The app must sign in with OAuth2 (modern authentication).[1]What is the SMTP server for Microsoft 365?
smtp.office365.com on port 587 with STARTTLS, using TLS 1.2 or 1.3. SMTP AUTH must be enabled for the mailbox.Sources[5]Microsoft Learn: send email from a device or application with Microsoft 365[6]Microsoft Learn: enable or disable SMTP AUTH in Exchange OnlineWhat port does Outlook SMTP use?
Why is Outlook SMTP not working?
Is basic authentication still allowed for Microsoft 365 SMTP?
What are the Outlook IMAP settings?
outlook.office365.com on port 993 with SSL/TLS, for both Outlook.com and Microsoft 365. On Outlook.com, turn on IMAP access first and sign in with OAuth2.Sources[1]Microsoft: POP, IMAP, and SMTP settings for Outlook.com[4]Microsoft Learn: POP3 and IMAP4 in Exchange OnlineHow do I turn on IMAP in Outlook.com?
Related guides
More on Shipmail pricing, comparisons, and team workflows.
Email, newsletters and booking pages on your own domain, in one plan.
Get started for free