April 30, 2012

How to send email from a Java program via Gmail's SMTP server

This Java function uses your Email, Password to send a Message to other Email address via Gmail's SMTP server.









Download JavaMail Library: http://www.oracle.com/technetwork/java/javamail/index-138643.html
Extract the Zip Archive
Import mail.jar into your project



Download

No comments:

Post a Comment