Aspose.Email Throws Exception when Sending Emails

Hi Support,

We are using Aspose.Email library to send the emails in our software, but we are facing some issues while sending the emails, I added the Aspose logging, below are the error details:

–> Smtp server[1|13/09/2021 14:02:10]: 454 4.7.0 Too many login attempts, please try again later. i20sm6924897wml.37 - gsmtp

–> Smtp server[1|16/09/2021 11:32:15]: 555 5.5.2 Syntax error. m2sm6984276wmm.3 - gsmtp

–> Smtp server[1|16/09/2021 11:32:15]: 503 5.5.1 RCPT first. m2sm6984276wmm.3 - gsmtp

Same email works fine if we use Microsoft.Net.Email library to send the mails.

Can you please let me know what could be the issues?

@munishsdna,
Thank you for the issue description. Please check the problem using the latest version of Aspose.Email. If the issue persists, please share the following:

  • code example reproducing the exception
  • email files that you sent

Hi Andrey,

Thanks for your reply.

This doesn’t happened every time, sometime this occur and if I try again then it start working fine, and its only happening for a one customer, so its not in out local env.

@munishsdna,
To help you properly, we need to reproduce the problem on our side first. Then we can investigate and resolve it. So it would be great if you could isolate the problem and provide the required data.