JavaMail-API-Android icon indicating copy to clipboard operation
JavaMail-API-Android copied to clipboard

Authentication fails

Open mjohn123 opened this issue 8 years ago • 2 comments

I tested your code in both Android version 4.4.2 and 5.0.1 but both version got error "Authentication fails ". I do not use Two-factor authentication. Thank you

mjohn123 avatar Aug 02 '16 04:08 mjohn123

Hi! I've gotten the same error "Authentication fails ". How can be fixed? Thanks and best regards, DAHK

euflorin avatar Nov 01 '18 18:11 euflorin

Hi! Problem solved: The gmail security settings need to be changed to allow less secure emails coming in. see https://stackoverflow.com/questions/25341198/javax-mail-authenticationfailedexception-is-thrown-while-sending-email-in-java/33801654#33801654

euflorin avatar Nov 01 '18 19:11 euflorin