Device Appication settings
Device or Application setting Value
Server/smart host smtp.office365.com. Don't use an IP address for the Microsoft 365 or Office 365 server.
TCP port 587 (recommended) or 25
TLS/StartTLS Enabled (TLS 1.3 or TLS 1.2)
Username/email address and password Enter the sign-in credentials of the designated mailbox.