0 votes

He throws me the following error using the sample code in the library vb net

Tried to read 1937561 bytes, only 24000 received. Please make sure that antivirus and firewall software are disabled or configured correctly.

El codigo usado es el codigo de ejemplo de la libreria Mail.dll

https://www.dropbox.com/s/8e6mlpva5lslc0g/Error%20Mail.png?dl=0

by (300 points)

1 Answer

0 votes

Your mail server returned 24000 bytes instead of expected 1937561, and disconnected or timeout occurred.

You can increase timeout values: Imap.ReceiveTimeout and Imap.SendTimeout. Defaults are set to 20 seconds.

by (297k points)
...