Java program to send an email.