MailKit.Net.Smtp.SmtpCommandException. Is it mapping 'Enhanced SMTP Returns' like 5.1.1 to traditional like 550 ? #1968
Closed
ruicaramalho
started this conversation in
General
Replies: 2 comments 2 replies
-
|
No, the SMTP protocol provides both the standard "Status Code" -and- the Enhanced Status Code when the SMTP server supports the ENHANCEDSTATUSCODES feature. MailKit does not have to map between them. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Thanks is clear now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I was treating the Exception return of SendAsync. The return string was:
5.1.1 The email account that you tried to reach does not exist.After checking if the exception was
MailKit.Net.Smtp.SmtpCommandExceptionI was able to retrievet the StatusCode550.This is great it's what I need, I just want to uderstand how it happened.
Is your code Mapping Enhanced code to Traditional Codes in order to return them?
Beta Was this translation helpful? Give feedback.
All reactions