aspose file tools*
The moose likes JSP and the fly likes automatic mail from jsp page. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "automatic mail from jsp page." Watch "automatic mail from jsp page." New topic
Author

automatic mail from jsp page.

Arun Vethadas .T
Ranch Hand

Joined: Dec 13, 2001
Posts: 36
hi
i want to send automatic mail from jsp page,
where i submit the page,it automatically send the mail to some id. how i do that.pls. help me.
thanks,
Arun.
Les Dsouza
Greenhorn

Joined: Jan 29, 2002
Posts: 27
Hi,
You can use the javamail api for this. You'll also need the JAF API.
You can get the javamail API and java activation framework (JAF) API from the sun site.
Check out the code below, you can adapt it to your needs:

regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: automatic mail from jsp page.