Java  code for sending an email