I need to send e-mails from a servlet running within Tomcat. I\'ll always send to the same recipient with the same subject, but with different contents.
What\'s a sim
Here is the simple Solution
Download these jars: 1. Javamail 2. smtp 3. Java.mail
Copy and paste the below code from [http://javapapers.com/core-java/java-email/][1]
[http://javapapers.com/core-java/java-email/][1]
Edit the ToEmail, Username and Password (Gmail User ID and Pwd)