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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 41571
    
  54
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.


Ping & DNS - my free Android networking tools app
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to send email