Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Transport connect Hang

823177Jun 28 2011 — edited Jul 6 2011
Hello 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2011
Added on Jun 28 2011
9 comments
1,453 views