Sending Mail from JSP-Servlet

hi all,

Can any one help me, how can i send the mail from JSP-Servlet.

in Spring, we have a the following package to send mail,

import org.springframework.mail.MailSender;

import org.springframework.mail.SimpleMailMessage;

import org.springframework.mail.javamail.JavaMailSenderImpl;

Suggest me to solve the problem.

Thanx in advance.

Bala

[415 byte] By [art84a] at [2007-11-27 6:13:29]
# 1
Just read it's API documentation.One hint: http://www.google.com/search?q=org.springframework.mail.MailSender+api
BalusCa at 2007-7-12 17:21:59 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi balu,i already go thru that API. My problem is if i add any additional jar file for sending the mail from JSP or Servlets only. not in high technology.i mention spring as an example.so, kindly suggets me on that.Bala
art84a at 2007-7-12 17:21:59 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
You can use the JavaMail in javax.mail.
BalusCa at 2007-7-12 17:21:59 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
i try it in my application and it's working fine.Thanx for u.Bala
art84a at 2007-7-12 17:21:59 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...