Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which smtp server

 
Gaurav Kalra
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me the smtp mail server address, that would allow me to send mails thru my jsp code.
Gaurav
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gaurav Kalra
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im using webappcabaret.com so what's my smtp server name.
 
Phil Hanna
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic