SmtpFailedRecipientException Was Replaced with AsposeException

Hello,
I’m using Aspose.Email 19.10.0.0.

When I try to send an email to an andress with syntax error, Aspose Email raises AsposeException and not SmtpFailedRecipientException.

Error is “Syntax error in parameters or arguments. The server response: 5.1.3 Bad recipient address syntax”

In old versions it raises SmtpFailedRecipientException. Why?

I attach you an exampleexample.docx (11.5 KB)

@matteofabris,
Thank you for posting the query. There were many updates after version 19.10. Please use the latest version of Aspose.Email. If the issue persists, please describe in more detail what problems this exception replacement produces.