Email Office365

I only have a trial license if that’s significant and I am running on Win 2016 Server standard edition.

I am trying to setup the email notification to send backup notifications thru Office365. For other products I use the following settings to send notifications.

Port: 587
Connection Security: STARTTLS

I tried and receive this error

<Failed to send the email: dial tcp i/o timeout>

I also tried smtps:// and get this error.

<Failed to send the email: dial tcp: lookup tcp/// getaddrinfow: The specified class was not found.>

Any help would be appreciated.

Did you try instead of