Transport connect Hang
823177Jun 28 2011 — edited Jul 6 2011Hello to all, i have developed a very simple mail UI to send email but i encounter error where when the debug pointer reach this statement
private final static String myHost = "smtp.gmail.com";
Username is the email address.
try {
myTransport.connect(myHost, 587, auth.getUsername(),
auth.getPassword());
}
catch(MessagingException ex) {
myLogger.log(Level.ALL, ex.toString());
}
, the debug pointer is just get disappear and no exception is throw. Therefore, i can't even get any useful log.
Thanks.
Edited by: peterwkc on Jun 28, 2011 3:31 AM
Edited by: peterwkc on Jun 28, 2011 3:35 AM