async-email / async-smtp

Apache License 2.0
60 stars 13 forks source link

feat: Improve Transient,Permanent error strings #53

Closed amaury1093 closed 1 year ago

amaury1093 commented 2 years ago

Hey! I sometimes have trouble understanding the error message. For example, I get a PermanentNegativeCompletion with the following error:

permanent: gmx.net (mxgmx117) Nemesis ESMTP Service not available

Any objections to improve it to:

permanent: gmx.net (mxgmx117) Nemesis ESMTP Service not available; No SMTP service; IP address is block listed.; For explanation visit https://www.gmx.net/mail/senderguidelines?c=bl

?

link2xt commented 1 year ago

Merged as https://github.com/async-email/async-smtp/commit/045c951261eb61a8ae3818993692b1e2e98bdecc