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