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 Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "automatic mail from jsp page." Watch "automatic mail from jsp page." New topic

automatic mail from jsp page.

Arun Vethadas .T
Ranch Hand

Joined: Dec 13, 2001
Posts: 36
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.
Les Dsouza

Joined: Jan 29, 2002
Posts: 27
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:

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: automatic mail from jsp page.