fixed error messages in sendmail.java