Gmail_MassMailing This is a Gmail Mass Mailing service, which can send a particular email to many numbers of people. It is written in Java. Used JavaMail API to send email from a Gmail account. Executing the JAR file Open Command Prompt in the directory containing the .jar file. Run the command : java -jar mail.jar Follow the commands to use the program. Source Code The source code is available inside the com package. com.welcome.welcome.java contains the main method. Configuration Gmail doesn't directly allows you to connect with an unlicensed less secure application. Go to "https://myaccount.google.com/lesssecureapps?pli=1" Enable this to access with your ID and Password from a less secured application.