aspose 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 Head First Android this week in the Android 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
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to send email
 
It's not a secret anymore!