File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes How to send email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to send email " Watch "How to send email " New topic
Author

How to send email

Sameer Nandgaonkar
Greenhorn

Joined: May 13, 2007
Posts: 8
Hi,
I want to send email through my jsp page.The condition is when use click on hyperlink on email or on button that time it will send email directly to particular customer.
Can some one help me.Please give code how to do this using jsp.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42919
    
  68
By "directly", do you mean without server interaction? Then you should you use a "mailto" link.

If the link goes to the server, and you want to send the email from there, have a look at the JavaMail API.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to send email