Hi
I am having following problem in my program to send email to a hotmail account:
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "mail.hotmail.com", port 25, isSSL false
javax.mail.MessagingException: Could not connect to SMTP host: mail.hotmail.com, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out: connect
In program code I am using
String mailhost="mail.hotmail.com";
Can anyone suggest why I am not able to connect to hotmail smtp server.
thanks