Java Mail exception
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   desmond_amadigwe
Posted On:   Monday, September 26, 2005 07:33 AM

Please I had the following exception while running my java mail program:

javax.mail.MessagingException:Could not connect to SMTP host:mysmtphost.com,port:25
I need assistance from any one.
Desmond

Re: Java Mail exception

Posted By:   Simon_Ablett  
Posted On:   Tuesday, September 27, 2005 06:03 AM

Is your mailserver really called 'mysmtphost.com'? My guess is that this is a dummy value in the demo code you are trying. Check that you have the correct mailserver name. If you have then it may be network connectivity issues.

Regards.

Re: Java Mail exception

Posted By:   Almagest_FUTT  
Posted On:   Monday, September 26, 2005 08:53 AM

Please stop triple posting.

It seems very likely to be a network error. Have you checked that part ? (this forum is rather for coding issues).
About | Sitemap | Contact