You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our implementation we have validated the email address before Dial and Send Email through GOMail package. This validation will validate whether the format is correct or not. Our SMTP server returns error when the Email address is in correct format but when email address is invalid. But GOMail doesn't return error when the valid Email address is Unavailable. Generally when sending any mail if the to / cc address is unavailable , will receive a mail from Mail Delivery Subsystem stating that the Address Not Found. Is there any way to catch this error in GO Mail package?
The text was updated successfully, but these errors were encountered:
It looks like this library is not maintained anymore- at least the commits and issues section is dead for several years now. You might wanna look at a different library. For the package that I maintain we found a similar issue and addressed this in v0.3.7. Maybe this is an interesting alternative for you.
In our implementation we have validated the email address before Dial and Send Email through GOMail package. This validation will validate whether the format is correct or not. Our SMTP server returns error when the Email address is in correct format but when email address is invalid. But GOMail doesn't return error when the valid Email address is Unavailable. Generally when sending any mail if the to / cc address is unavailable , will receive a mail from Mail Delivery Subsystem stating that the Address Not Found. Is there any way to catch this error in GO Mail package?
The text was updated successfully, but these errors were encountered: