EmailUtilSMTPLocal.java: added more comments and clean up the code