We are using SMTPClient class to send emails Synchronously. Sometimes Send() is throwing Operation has timed out exception. Time out seems to happen in 100 seconds.
What can be the reason for this error. Is it timed out due to size of message was larger and send could not complete with in 100 seconds ?
We are not able to identify the reason for this timeout operation. Any help in this regard would help in a big way.
We have 20MB SMTP size and sending 10 to 11 files with the size much less than 10 MB. We also have logic to calculate the header packet and attachment and then prompt the user if it exceeds the SMTP maximum limit. So for sure it is not exceeding SMTP max size.
Note: Aspose.Network.Mail.MailMessage (version 6.3.0.0)