go-gomail / gomail

The best way to send emails in Go.
MIT License
4.29k stars 569 forks source link

Mail Delivery Subsystem Error #186

Open Stark-Vinoth opened 10 months ago

Stark-Vinoth commented 10 months ago

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?

wneessen commented 8 months ago

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.

StarkVinoth commented 1 month ago

Thank you. Let me check.