Free Support Forum - aspose.com

SmtpClient.ExceptionThrown - Can't determine the mail message that errored

It appears that the ExceptionThrown event handler doesn't provide the client with the MailMessage that failed to send due to the exception. I have a SmtpClient.Send that times out and in the delegate the SmtpEventArg does not contain the MailMessage that was being sent. Is this the correct behavior? There is no way to figure out which messages failed to send.

Hello,
This issue is currently under discussion, it needs further design and thorough testing, please wait for our result, it should be done within this week. Thank you for your pacitience!