B4J Question Email server example (error msg)

Beja

Expert
Licensed User
Longtime User
Hi everyone.
Anyone knows the meaning of this error message:

12/02/2016 17:08:31: Error: (RuntimeException) java.lang.RuntimeException: Error during login: -ERR [AUTH] Web login required: https://support.google.com/mail/answer/78754

--
All params set corectly.
 

Cableguy

Expert
Licensed User
Longtime User
I never worked with that stuff but, out of the top of my head, are you also setting the right in/out servers? What about their ports?
 
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
Are you using Gmail as the outgoing email server ?

If so..

https://support.google.com/accounts/answer/185833

After clicking the link above, click “How to generate an App password”, then click “Visit your App passwords page.” Log into your google account if prompted. You may receive a message saying “The setting you are looking for is not available for your account” In that case, click “Show all account settings.” Under “Sign-in & security,” click “Connected apps & sites.” Locate the box that says, “Allow less secure apps” and turn it ON. Verify your gmail settings in the B4J app and try sending an email again.

More info here: https://security.googleblog.com/2014/04/new-security-measures-will-affect-older.html
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…