Hi. I've been sitting the entire morning with a problem and thought to share, perhaps I can save someone some time in future.
I use the NET library to send emails via SMTP, I was getting an error "connection closed without indication" whenever trying to send an email, turns out the problem was my email password was incorrect. I've tried SSL, TLS, changing Authmethod etc. Seems like there is not a specific error for Authentication failed, just a generic message.
Hope this helps someone out there.
I use the NET library to send emails via SMTP, I was getting an error "connection closed without indication" whenever trying to send an email, turns out the problem was my email password was incorrect. I've tried SSL, TLS, changing Authmethod etc. Seems like there is not a specific error for Authentication failed, just a generic message.
Hope this helps someone out there.