• Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaMail response -1 from Server : {  RSS feed

 
Gul Khan
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying to send out email. The code I have copied from Java tutorial but when I run it with debug:true it gives the following error.

DEBUG SMTP: could not connect to host "XXX.XXX.XXX.XX", port: 25, response: -1

Email Server is accessible as i can telnet on port 25.

Following is my code:


can any one please tell me what could be wrong?
Thanks.

-Gul
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!