Send a mail in Java using Gmail SMTP.

Directly come from http://howtodoinjava.com/2012/11/29/how-to-send-email-in-java-using-gmail-smtp-server/
http://techzone4all.wordpress.com/2011/08/10/how-to-send-html-formatted-e-mail-with-java/