This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41032
    
  43
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
 
Don't get me started about those stupid light bulbs.
 
subject: How to send email
 
Similar Threads
how to send an email in jsp?
how to send email in jsp?
how to send an email in jsp?
email automaically
jsp email