posted 18 years ago
I have written a sample program to send a mail.When I run I get this
error.
"javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: Could not connect to SMTP host:
mail.myserver.com, port: 25;
nested exception is:
java.net.ConnectException: Operation timed out: connect"
When i ping "mail.myserver.com" , I don't get a reply. Can this be the problem?
Thanks in advance.