On Mon, 25 Sep 2000, you wrote:
> Hi ,
>
> In my jsp i have to send e-mail to others. How can i know the SMTP host
> name of the mail servers like hotmail.com,yahoo.com
>
> If would appriciate if any body help me

On a Unix system you can use the 'host' command:

$ host hotmail.com
hotmail.com             A       216.33.238.7
hotmail.com             A       64.4.10.7
hotmail.com             A       64.4.11.7
hotmail.com             A       64.4.11.135
hotmail.com             A       209.185.243.135
hotmail.com             A       216.32.243.7

It would be a much better idea to use your own mail server however.  The remote
admins might be blocking attempts to relay SMTP through their servers.
  -M@


--
Matt Hixson
Aventail Corporation
Seattle, Washington

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to