File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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..) 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.

I agree. Here's the link:
subject: mail using jsp
It's not a secret anymore!