1. Home
  2. /
  3. Docs
  4. /
  5. Bulk Email Paystubs Sage ...
  6. /
  7. Installation and Setup
  8. /
  9. Configurating Email SMTP ...
  10. /
  11. Setup Office 365 Server S...

Setup Office 365 Server Setup

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:

  1. SMTP Client Submission (Authenticated SMTP – SMTP AUTH) – Recommended for most applications.
  2. Direct Send – Used for sending emails within your organization.
  3. 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

  1. Sign in to the Microsoft 365 Admin Center (admin.microsoft.com).
  2. Navigate to Users > Active Users.
  3. Select the user account that will send emails.
  4. Click Mail > Manage Email Apps.
  5. 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! 🚀