wood burning stoves 2.0*
The moose likes Servlets and the fly likes which smtp server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "which smtp server" Watch "which smtp server" New topic

which smtp server

Gaurav Kalra

Joined: Mar 13, 2001
Posts: 27
Can anyone tell me the smtp mail server address, that would allow me to send mails thru my jsp code.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
It depends on your system configuration, which ISPs or gateway systems you use and so on.
If you have a mail client (Outlook, Eudora, Netscape Messenger etc.) which works on the same system or local network as the server, then look for the smtp host name setting in that client and use it in your JSP.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Gaurav Kalra

Joined: Mar 13, 2001
Posts: 27
im using webappcabaret.com so what's my smtp server name.
Phil Hanna
Ranch Hand

Joined: Apr 05, 2001
Posts: 118
Looks like "mail.webappcabaret.com" is the SMTP host. You can verify this by running
telnet mail.webappcabaret.com 25
The 25 is the SMTP port number. When I try it, it responds
220 wac2.webappcabaret.com ESMTP Sendmail 8.11.0/8.11.0; Sun, 15 Apr 2001 12:55:30 -0700
You can type a test message manually through telnet. Refer to
http://www.freesoft.org/CIE/RFC/821/31.htm for an example.
This is only for sending mail. For receiving mail, in your case the POP3 server is also mail.webappcabaret.com, on port 110.
Phil Hanna
Author of :
JSP: The Complete Reference
Instant Java Servlets

Phil Hanna<BR>Sun Certified Programmer for the Java 2 Platform<BR>Author of :<BR><A HREF="http://www.amazon.com/exec/obidos/ASIN/0072127686/electricporkchop/107-3548162-1137317" TARGET=_blank rel="nofollow">JSP: The Complete Reference</A><BR><A HREF="http://www.amazon.com/exec/obidos/ASIN/0072124253/electricporkchop/107-3548162-1137317" TARGET=_blank rel="nofollow">Instant Java Servlets</A>
It is sorta covered in the JavaRanch Style Guide.
subject: which smtp server