Sign inStart for $1

SMTP settings for Microsoft 365

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.

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.

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

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
  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

Common errors

General SMTP errors and what to try
ErrorUsual causeWhat to try
535 authentication failedThe 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 requiredThe 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 rejectedThe 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 availableA 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 refusedYour 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.

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.