This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes mail using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "mail using jsp" Watch "mail using jsp" New topic
Author

mail using jsp

mudassir shahab
Ranch Hand

Joined: Oct 13, 2003
Posts: 54
suppose i have a jsp page that have some text fields and information input by a user...on pressing the submit button i want to send this page to an e-mail address(in a proper format), so that it can be viewed through e-mail also...(normally this happens in some web applications also where the user and country manager(or any high official) can see what query has been added to the database..).....how can i do this ???
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
Check out the JavaMail API; part of J2EE 1.4. Here is a tutorial from Sun's website.

Jules
 
GeeCON Prague 2014
 
subject: mail using jsp