Forum Discussion

TonyRedmond's avatar
Jan 14, 2021

Why New TLS Requirement for Exchange Online Stops PowerShell Scripts Sending Email

 

Exchange Online now insists on TLS 1.2 connections between email clients and servers. PowerShell scripts using the Send-MailMessage cmdlet will fail. The problem is easily solved by forcing PowerShell to use TLS 1.2 to connect, but it does mean that some work is needed to check scripts (before they fail).

 

https://office365itpros.com/2021/01/14/powershell-scripts-fail-exchange-online-tls12/

No RepliesBe the first to reply

Resources