We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

SmtpClient.Timeout problems


i have found two problems with the SmtpClient.Timeout property:

1) When i set the value of the Timeout property to a small number (for example 1) the SmtpClient never throws a timeout an exception, no matter how long the call takes.

2) When the value of the Timeout property roughly coincides with the amount of time the SmtpServer needs to send the message, often the Email is sent but the Send method throws a SmtpException anyway.

Especialy the second problem is rather bad es we get a false indication of failure which can lead to multiple mails being send if we try to re-send a mail we believed was not send.

Please provide a fix as soon as possible.

Thank you.

Hi Robert,

Please accept our apology for delayed response.

I have analyzed the information provided by you and have successfully reproduced both the issues. I have passed the information along with the sample code to the development team. I will write back here on the forum as soon as some feedback is received from the developers.

Thanks for your patience and cooperation in this regard.

This issue is logged in our issue tracking system as NETWORKNET-33497.