sending an automated email

Hi,

I am a student and I am doing a website project. I have planned to add an application called 'Tell a friend'. In this application when an user clicks a link then a new window will open and in that window there will be one form, in which user has to enter his name,email id, message, recepient name, email address etc. When he clicks the send button an email should go to the recepient email id. In that email there should be the link of my website and the sender's message.

Currently I created the website using html and jsp. I don't know how to develop the 'tell a friend' application. I would like to do it in jsp.

Please help me in completing my project.

[692 byte] By [vinu@worka] at [2007-11-27 3:39:14]
# 1

what help do you want.

just create a simple jsp page containing input fields for the message, To field, CC field.

You can invoke a servlet or another jsp to send an email notification using Java Mail.

sample code for java mail can be easily found out on the net using google.

minkeya at 2007-7-12 8:42:35 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...