how to send browser display HTML page as HTML Email using JSF
Joined: Jul 15, 2003
i need to send a whole jsf rendered page as a html page.... . say theres a page which hav few links , images etc & theres a send email button at the end of the page. once the user clicks on the button the whole page should appear in another window which hav from,to, subject line + the html body of tht earlier page & once he clicks the send button it should send to the sender & the receiver should see the email a s a html email.where you can click on the links,images showin etc...
Joined: Oct 01, 2003
You could use the JavaMail api here to access a mail server
There is a link to download the api+samples source codes very helpful.
"A good method shouldn't bypass one screen long"<br />"genius is the knowledge left when one has forgotten everything"
Joined: Jan 23, 2001
Here is a sample code for this..
Regards Ajit Kanada [ August 24, 2007: Message edited by: Ajit Kanada ]