Java sample of sending email.