Forum Discussion
yusufyj
Feb 03, 2023Copper Contributor
SMTP Settings
Good morning, I have a custom application that I want to send emails to users via Office 365 what are the default settings to use when using Microsoft 365
- Tech_SchoolCopper Contributor
Thanks,
Maybe good for now, but not for long...
Microsoft: "Although SMTP AUTH is available now, we announced Exchange Online will permanently remove support for Basic authentication with Client Submission (SMTP AUTH) in September 2025. We strongly encourage customers to move away from using Basic authentication with SMTP AUTH as soon as possible. For more Information about alternative options, please see our announcement here: techcommunity.microsoft.com/t5/exchange-team-blog/exchange-online-to-retire-basic-auth-for-client-submission-smtp/ba-p/4114750" - Deleted
yusufyj
If the application will be using the SMTP Auth for sending of mails, below are the requirements.- An account with a user mailbox which will be used for the SMTP authentication. The email address of the mailbox you are using will appear as the sender of the email.
- The Authenticated SMTP protocol must be enabled for the mailbox. See screenshot below.
- MFA must NOT be enabled for the account.
- Security Default must NOT be enabled for the organization.
- The SMTP server settings are below
- SMTP server address: smtp.office365.com
- PORT: Port 587 (recommended) or port 25
- TLS/StartTLS should be enabled
- Enter the username and password for the mailbox you are using.
Basic authentication has been deprecated however, Microsoft understands that most devices and clients have not been designed to use Modern Authentication and this is why Microsoft is yet to disable Basic Authentication for SMTP Auth. See the article below.
NOTE: I have seen scenarios where the Authenticated SMTP protocol is already enabled but the feature still doesn't work after following the above steps. Disabling the authenticated SMPT, click on Save and reenabling the feature back resolves the issue sometimes in case you experience that.
If I have answered your question, please mark your post as Solved
If you like my response, please give it a Like
Appreciate your Kudos! Proud to contribute! 🙂