Free Support Forum - aspose.com

Mail Send Failure

Is there any way to decode the source of an mail.send(msg) error that throws:

A first chance exception of type 'Aspose.Network.Mail.SmtpException' occurred in Aspose.Network.dll
The thread '' (0x11c4) has exited with code 0 (0x0).
Aspose.Network
at Aspose.Network.Mail.SmtpClient.xafe843cbc6fdc3e0(String x64f259306803411c, Int32 x200aedbf6c3c4174, Boolean x2b984af40def65a4, Boolean x2c676013f9d4d840)

The "RecipientRejected" event never occurs. It's a trappable error but stack shows nothing, message is just "error" and source is not informative.

Thanks,

P

p.s. I am using the eval version

Hi,

Thanks for considering Aspose.

Please try to check out the SmtpException.InnerException for the problem.

You may also post the code snippet here or email it at saqib.razzaq[at]aspose.com. We will debug and trace the problem and add the necessary information in the SmtpException class in the next release.