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

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -