| Author |
jsp related
|
Vivek Kumar Upadhyay
Greenhorn
Joined: Mar 06, 2006
Posts: 1
|
|
Hi everybody, I want to e-mail a report that is generated in jsp to some e-mail id :how can i do this,pls help... Bye Vivek
|
 |
Zip Ped
Ranch Hand
Joined: Jul 26, 2005
Posts: 336
|
posted

0
|
Hi, In order to send an email through your JSP, you should have authorization to your SMTP server. You need to import these packages: import java.util.Properties; import javax.mail.*; import javax.mail.internet.*; import javax.naming.*; I can't send you the code. I am sorry for that and I hope you understand why. Some more information here : http://www.jsptut.com/Email.jsp
|
 |
Bimal Patel
Ranch Hand
Joined: Aug 29, 2003
Posts: 130
|
|
Hi, He's trying to mention the java mail API. Sun has that as a saperate API and you can use it... again its "free".
|
Work Hard, Expect The Worst...<br /> <br />Bimal R. Patel<br />(SCJP 1.2, SCWCD 1.4)
|
 |
 |
|
|
subject: jsp related
|
|
|