This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i e-mail from JSP or Servlet

 
Ghazanfar Qureshi
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have downlosaded JavaMail and i have Tomcat 3.1 and Microsoft IIS 5 running on same machine but at different ports how can i mail from my JSP which uses Tomcat (I know how to mail from IIS using ASP). I have to download JWS or i can configure Tomcat or IIS ?
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can write Java code to send mail using JavaMail, which can be used by Servlets runing in Tomcat. Do a search for JavaMail here at the Ranch and you should find several code examples of how to do this.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic