Search Persits Software Knowledge Base

 

Article PS211119189

Transport Layer Security Error #25 (WinSock): No information received from the server.

Problem Description

When sending email with AspEmail or AspEmail.NET under TLS, the following error occurs:

Transport Layer Security Error #25 (WinSock): No information received from the server.

Solution

In most cases this error indicates that the SMTP server requires TLS 1.2 or higher, while AspEmail attempts to communicate with it via TLS 1.0.

AspEmail and AspEmail.NET offer support for TLS 1.2 as of Version 5.5. If you are using an earlier version, please upgrade. If you are already using version 5.5+, make sure your script does not use specify the TLS version to be "1.0" via the property TLSVersion.

Also, some SMTP servers which require TLS 1.2 also require that the client application support RSA/SHA256-based signatures, and throw the above error otherwise. AspEmail and AspEmail.NET offer support for RSA/SHA256-based signatures as of Versions 5.6.0.1 and 5.6.0.5189, respectively.

Created: 11/19/2021 10:00:09 PM
Last Modified: 11/19/2021 10:00:09 PM

Copyright © Persits Software, Inc. 1998 - 2021
For technical support, write to support@persits.com.