Note:
You are responsible for configuring your email setup. The method below has been provided to assist you when setting up Office 365 SMTP. These steps may not work for everyone, depending on your organization’s specific email and security settings. DocketManager is not responsible for troubleshooting issues related to SMTP email setup.
SMTP Requirements Checklist
- You have the full email address and password (or App Password if MFA is enabled) for the account you’ll use to send email (e.g., noreply@yourdomain.com)
- The account is properly licensed with a mailbox in Office 365
- You are an administrator or can request changes from one
- SMTP AUTH is enabled for the account
- You have verified if Multi-Factor Authentication (MFA) is enabled for the account
Steps to Enable Office 365 SMTP Email Sending
Step | Action |
1. | Open PowerShell in Windows by searching for “PowerShell”. Right-click it and choose Run as Administrator. |
2. | Paste in the following commands one at a time and hit {Enter} after each: Install-Module ExchangeOnlineManagement -Scope CurrentUser -Force Connect-ExchangeOnline |
3. | When prompted, enter your Office 365 administrator email and password. |
4. | Check whether SMTP AUTH is enabled for the sending email address: Get-CASMailbox -Identity "noreply@yourdomain.com" | Select SmtpClientAuthenticationDisabled |
5. | If the result is True, enable SMTP AUTH with: Set-CASMailbox -Identity "noreply@yourdomain.com" -SmtpClientAuthenticationDisabled $false |
6. | If the account uses Multi-Factor Authentication (MFA), you must create an App Password instead of using your regular password. Go to: https://mysignins.microsoft.com/security-info → Add sign-in method → App Password Use this generated password for your SMTP configuration. |
SMTP Settings for DocketManager
- SMTP Server: smtp.office365.com
- Port: 587
- Encryption: STARTTLS
- Username: Full email address
- Password: App Password or standard password
- Authentication: Required
Optional: Grant SendAs Permission Between Mailboxes
Step | Action |
1. | In PowerShell (still connected from earlier), paste the following: Add-RecipientPermission bob -AccessRights SendAs -Trustee noreply |
2. | Replace 'bob' with the user you want to send as, and 'noreply' with the mailbox configured in DocketManager (omit the @domain.com). |
3. | A prompt will appear. Type Y and press {Enter}. |
4. | A confirmation will display: Identity Trustee AccessControlType AccessRights Inherited bob_2619bcd7bf noreply Allow {SendAs} False |
5. | Close PowerShell. |
Common SMTP Errors & Solutions
- 535 5.7.139 Authentication unsuccessful: Use an App Password instead
- 5.7.57 Client not authenticated: Enable SMTP AUTH using PowerShell
- SendAs denied: Use Add-RecipientPermission command
- Timeout or no connection: Use Port 587 and STARTTLS, not SSL/465
Need Help?
If you are unsure whether your Office 365 account uses MFA, or cannot enable SMTP AUTH, please contact your Office 365 administrator or IT provider.