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
Post a Comment