Having problems configuring Office 365 SMTP relay in notification settings. Particular configuration values work well when tested from the same server via PowerShell. How can I find why my "Connection failed"?


Tested the PRTG mail delivery using Office365 which worked. This is what the delivery configuration setup looked like:

SMTP Delivery Mechanism:Use SMTP relay server
Sender Emal:notifications@domain.tld
Sender Name:PRTG
HELO ident:prtgserver.domain.tld
SMTP Relay Server:smtp.office365.com
SMTP Relay SMTP Port:587
SMTP Relay Authentication:Use standard SMTP authentication
SMTP Relay User:notifications@domain.tld
Use Encrypted Connection:If supported by server
SSL Method:'SSL V2 or V3' or 'TLS v1.2'

Messages where sent successfully in PRTG Version 17.3.33.2753 with the setup above. Please note that this released includes some improvements for TLS:

IMPROVEDNOTIFICATIONS
SMTP DeliverySMTP delivery for email notifications now supports TLS V1.1 and TLS V1.2.


For more details, please see this article from Microsoft: https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365


Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.