Wednesday, November 4, 2020

Authentication failed because remote party has closed the transport stream

This error message generally receive when you are try to send emails through TLS 1.2 or higher. To solve this add this line before send emails. 

ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;

No comments:

Post a Comment

How to Create Events Using Microsoft Graph API with Delegated Permissions and MSAL.js

Microsoft Graph API provides powerful capabilities to interact with Microsoft 365 services. In this guide, we’ll explore how to create calen...