SmtpTest.java added.
bug fixed