---
title: "SMTP settings for Microsoft 365"
url: "https://coldagentai.com/smtp-settings/microsoft-365.md"
canonical_url: "https://coldagentai.com/smtp-settings/microsoft-365"
last_updated: "2026-11-20"
type: "reference"
summary: "Connect Microsoft 365 to a sending tool: SMTP host smtp.office365.com, port 587 and the sign-in method, each with its help page. With the help pages behind it."
related: ["https://coldagentai.com/smtp-settings.md", "https://coldagentai.com/smtp-settings/sending-limits.md", "https://coldagentai.com/smtp-settings/hostinger.md", "https://coldagentai.com/smtp-settings/hostgator.md", "https://coldagentai.com/smtp-settings/dreamhost.md", "https://coldagentai.com/smtp-settings/google-workspace.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# SMTP settings for Microsoft 365

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Connect Microsoft 365 to a sending tool: SMTP host smtp.office365.com, port 587 and the sign-in method, each with its help page. With the help pages behind it.

Settings for sending mail through Microsoft 365: SMTP server smtp.office365.com, 587 (STARTTLS). Read from the provider's own help pages on 2026-10-19.

## Settings

### SMTP (sending)

- Host: `smtp.office365.com`
- Port 587: `STARTTLS`
- Source: https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365

## Username and password

- Sign-in method stated on the page read: Authenticated SMTP submission (SMTP AUTH).
- Use the username your provider shows beside these settings. Many mailbox providers use the full email address.
- Put the mailbox password the sign-in method names into the password field.

## Connect it to a sending tool

1. In the tool you send from, add a mailbox and choose the custom IMAP and SMTP option. ColdAgentAI connects mailboxes that sign in with a password, app password or key over IMAP and SMTP. [IMAP and SMTP mailboxes in ColdAgentAI](https://coldagentai.com/product/inboxes.md)
2. Enter smtp.office365.com as the SMTP server. Use one of the ports listed under settings (587) and set the security mode shown beside it.
3. Sign in with the method the page states: Authenticated SMTP submission (SMTP AUTH).
4. If your tool reads replies, it also needs the provider's IMAP host and port from its help page.
5. Send one test message to an address you own and open it to check the sender, the subject and where it landed.
6. Keep each mailbox's daily sending modest and let volume rise gradually. Provider limits are compared on the sending limits page. [SMTP sending limits compared](https://coldagentai.com/smtp-settings/sending-limits.md)

## Common errors

| Error | Usual cause | What to try |
| --- | --- | --- |
| 535 authentication failed | The username or password was refused. An everyday account password is often refused when the provider wants a different credential. | Re-check the username, then use the kind of credential the sign-in method above names. |
| 530 authentication required | The server wants you to sign in before it takes mail, or the secure connection was not set up first. | Switch authentication on in your tool and set the security mode that matches the port you chose. |
| 554 message rejected | The server refused the message: the sender address is not allowed for this login, the content or recipient was blocked, or a policy limit was hit. | Send from the address that belongs to the login, read the text after the code, and try one plain test message. |
| 421 service not available | A temporary refusal, usually too many connections or messages in a short time. | Wait, lower your sending speed, and retry. Repeated 421 replies mean you are over a limit. |
| Timeout or connection refused | Your network blocks the port, the host name has a typo, or the security mode does not match the port. | Try another port listed for this provider, check the host spelling, and match SSL/TLS or STARTTLS to the port. |

## Sending limits

| Limit | Figure | Source |
| --- | --- | --- |
| Daily | 10,000 recipients per day | https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365 |
| Hourly or rate | 30 messages per minute | https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365 |

## Sources

- https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365: read on 2026-10-19
- https://learn.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits: read on 2026-10-19
- https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission: read on 2026-10-19

## Questions

### What is the SMTP server for Microsoft 365?

The page we read gives smtp.office365.com. We read it on 2026-10-19.

### Which port and security mode does Microsoft 365 use for sending?

The page states 587 (STARTTLS). Choose the security mode that matches the port.

### How do I sign in to Microsoft 365 from a sending tool?

The page states: Authenticated SMTP submission (SMTP AUTH). Use the credential that method names rather than your everyday password.

### What are the sending limits for Microsoft 365?

Daily: 10,000 recipients per day; Hourly or rate: 30 messages per minute. Check the source for the current figure before planning volume.

### Where do these settings come from?

They come from Microsoft 365's own help pages, read on 2026-10-19. Spot a setting that changed? Write to hello@coldagentai.com.

## Related providers

- [Hostinger Email](https://coldagentai.com/smtp-settings/hostinger.md)
- [HostGator Email](https://coldagentai.com/smtp-settings/hostgator.md)
- [DreamHost Email](https://coldagentai.com/smtp-settings/dreamhost.md)
- [Google Workspace](https://coldagentai.com/smtp-settings/google-workspace.md)
- [All SMTP settings](https://coldagentai.com/smtp-settings.md)
- [Sending limits compared](https://coldagentai.com/smtp-settings/sending-limits.md)

## Related

- [SMTP settings finder](https://coldagentai.com/smtp-settings.md)
- [SMTP sending limits compared](https://coldagentai.com/smtp-settings/sending-limits.md)
- [SMTP settings for Hostinger Email](https://coldagentai.com/smtp-settings/hostinger.md)
- [SMTP settings for HostGator Email](https://coldagentai.com/smtp-settings/hostgator.md)
- [SMTP settings for DreamHost Email](https://coldagentai.com/smtp-settings/dreamhost.md)
- [SMTP settings for Google Workspace](https://coldagentai.com/smtp-settings/google-workspace.md)
