Mailbox · SMTP settings
Microsoft 365 (Office 365) SMTP settings
The Microsoft 365 (Office 365) SMTP server is smtp.office365.com on port 587 with STARTTLS. SMTP AUTH must be enabled for the mailbox, and Microsoft is moving SMTP sign-in to OAuth 2.0, so check your tenant's settings before relying on a password.
Last reviewed November 2026
| SMTP server | smtp.office365.com |
|---|---|
| Port (recommended) | 587 (STARTTLS) |
| Username | The mailbox's full address (user@yourcompany.com) |
| Password | OAuth 2.0 (recommended) or the mailbox password where SMTP AUTH is allowed |
| Authentication | Required |
| Direct send / relay | yourdomain-com.mail.protection.outlook.com on port 25 |
| IMAP server | outlook.office365.com |
|---|---|
| IMAP port | 993 (SSL/TLS) |
| POP3 server | outlook.office365.com |
| POP3 port | 995 (SSL/TLS) |
Sending limits
Exchange Online limits each mailbox to 10,000 recipients per day and 30 messages per minute.
Three ways to send through Microsoft 365
| Method | Server | Best for |
|---|---|---|
| SMTP AUTH client submission | smtp.office365.com:587 |
Apps that sign in as one mailbox |
| Direct send | <your-domain>.mail.protection.outlook.com:25 |
Devices sending only to your own organisation |
| SMTP relay (connector) | <your-domain>.mail.protection.outlook.com:25 |
Devices with a static IP sending to anyone |
Turn on SMTP AUTH for the mailbox
New tenants have SMTP AUTH turned off. An admin can enable it per mailbox in the Microsoft 365 admin center (Users > Active users > Mail > Manage email apps > Authenticated SMTP) as long as it isn't disabled tenant-wide and Security Defaults don't block it.
Basic authentication is being retired
Microsoft has announced the retirement of basic authentication for SMTP AUTH client submission in Exchange Online. Plan for OAuth 2.0 (register an app in Microsoft Entra ID and request the SMTP.Send permission), or move application email to a dedicated sending service.
For application email
Exchange Online is built for people's mailboxes, with per-mailbox caps of 10,000 recipients a day and 30 messages a minute. For password resets, receipts and notifications, a transactional email API such as Stack Emails avoids those caps and gives you per-message delivery events.
Check your domain's email records
If you send from your own domain, receiving servers check SPF, DKIM and DMARC. Use our free SPF checker, DKIM checker and DMARC checker to confirm they pass.
Settings checked against Microsoft 365 (Office 365)'s public help pages. Providers change authentication rules from time to time, so confirm in their documentation if something doesn't work.