| Author |
how to send browser display HTML page as HTML Email using JSF
|
Saman Perera
Ranch Hand
Joined: Jul 15, 2003
Posts: 61
|
|
Hi all 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... Thanks Saman
|
 |
Pierre Henry
Ranch Hand
Joined: Oct 01, 2003
Posts: 31
|
|
Saman, 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"
|
 |
Ajit Kanada
Ranch Hand
Joined: Jan 23, 2001
Posts: 95
|
|
Hi Saman, Here is a sample code for this.. Regards Ajit Kanada [ August 24, 2007: Message edited by: Ajit Kanada ]
|
Thankx
Ajit
|
 |
 |
|
|
subject: how to send browser display HTML page as HTML Email using JSF
|
|
|