Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: darkapplePosted on 2009-09-06 at 22:44:51ID: 25272888
Just using javascript you can't send emails directly.
/KB/java/J ava_Mail.a spx? msg=15 20181
You need to invoke server side code for sending mail. Also you might need to configure SMTP server, mail server to successfully send mail.
just including sendmail.jar isn't the solution. you need to call methods from some of the class to send mail.
here is a brief description and code to send mail.
http://www.codeproject.com
You can embed this code snippets in next JSP page to which your form's action points. Another way is the AJAX call you need to make.