Hi,
Java Email Client for private email is not working. Here's my code. It hangs there. The service provider says their server is fine:
String from = "service@mydomain.us";
final String username = "service";//change accordingly
final String password = "xxxxxx";//change accordingly
// Assuming you are sending email through relay.jangosmtp.net
String host = "mail.privateemail.com";
Properties props = new Properties();
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.starttls.enable", "true");
props.put("mail.smtp.host", host);
props.put("mail.smtp.port", "465");
Anyone tells me what's wrong?
A.