At 03:41 AM 5/16/2002 -0500, you wrote:
>Hi all,
>
>  when i try to send an email to me itself i get the following exception
>
>javax.mail.MessagingException: Could not connect to SMTP host: <ip address>,
>port: 25;
>
>Properties prop = new Properties();
>prop.put("mail.smtp.host", hostName);
>
>where hostName  is <ip address>

from command prompt :
telnet <ip address> 25

hello test
220 some.smtp.com ESMTP
mail from: <[EMAIL PROTECTED]>
250 ok
rcpt to: <[EMAIL PROTECTED]>
250 ok
data
354 go ahead
testing
.
250 ok 1021539873 qp 13333
quit
221 some.smtp.com


>i know this is offtopic but if someone can let me know where i am wrong , i
>would appreciate it.
>
>
>Regards
>
>Ramesh Kesavanarayanan
>[EMAIL PROTECTED]
>Off: 91-44-8113801 ext 2333
>Res:91-44-2265360
>Mob : 91-98412-73573

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to