Microsoft’s control panel screens and terminology change frequently, making Office 365 SMTP setup a moving target. Given that different organizations may have varying security policies and configurations, it’s always best to consult with an IT department or a professional IT consultant to ensure compliance and correct setup.
DataSoft is unable to assist with configuration of Office 365 SMTP Severs.
As of the writing of this documentation there are a few ways of dealing with.
Step 1: Choose the Right SMTP Method
Microsoft 365 offers three ways to send emails from applications:
- SMTP Client Submission (Authenticated SMTP – SMTP AUTH) – Recommended for most applications.
- Direct Send – Used for sending emails within your organization.
- SMTP Relay – Used for sending emails externally via an authenticated connector.
For most desktop applications, SMTP Client Submission is the best option.
Step 2: Enable SMTP Authentication
- Sign in to the Microsoft 365 Admin Center (admin.microsoft.com).
- Navigate to Users > Active Users.
- Select the user account that will send emails.
- Click Mail > Manage Email Apps.
- Ensure Authenticated SMTP is enabled.
Step 3: Configure SMTP Settings in Your Application
Use the following SMTP settings:
- SMTP Host/IP Address:
smtp.office365.com
- Port Number:
587
- User ID: Your Office 365 email address (
yourname@yourcompany.com
) - User Password: Your Office 365 password (or App Password if MFA is enabled)

Step 4: Verify Firewall & Microsoft Policies
- Ensure your firewall allows SMTP traffic on port 587.
- If MFA (Multi-Factor Authentication) is enabled, you may need to use an App Password instead of your regular password.
- Check your organization’s Microsoft Entra Security Policies to confirm whether SMTP authentication is allowed.
For more details, check Microsoft’s official documentation here or a community discussion here. Let me know if you need further assistance! 🚀