Java Mail Client using gmail smtp server without less secure app enable
git clone https://github.com/x86xFX/JavaMailer.git
After importing project, add javaMail library to class path JavaMail.jar
How to create Apps Password :
- Go to MyAccount security settings -> accounts.google.com
- Enable 2-Step Verification
- Create App Password (select Other)