Hi,
We are getting error message when connecting to Smater Mail API
Inner Exception: {"Unable to read data from the transport connection: An
existing connection was forcibly closed by the remote host."}
Message: The underlying connection was closed: An unexpected error occurred
on a send.

sumesh npPosted Sep 12, 2017, 10:04 AM
Mukil VendhanPosted Sep 12, 2017, 9:40 AM
The underlying connection was closed: An unexpected error occurred on a receive.
Resolution
To resolve this problem, make sure that you are using the most recent version of the .NET Framework.
Add a method to the class to override the
GetWebRequestmethod. This change lets you access the HttpWebRequest object. If you are using Microsoft Visual C#, the new method must be similar to the following.Excerpt from KB915599: You receive one or more error messages when you try to make an HTTP request in an application that is built on the .NET Framework 1.1 Service Pack 1.