Android Question Error sending email using SMTP

Danie Steyn

Member
Licensed User
Longtime User
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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…