java - Gmail account authentication error while sending mail in android application -


i getting following error when trying send message android application gmailapi. "could not connect smtp host: relay.jangosmtp.net, port: 465, response: -1"

since 2015 google not allowing "less secure apps" connect through smtp port (this means need ssl or tls certificate).

to allow them try this: https://support.google.com/accounts/answer/6010255?hl=en


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -