• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to send browser display HTML page as HTML Email using JSF  RSS feed

 
Saman Perera
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ajit Kanada
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saman,

Here is a sample code for this..

Regards
Ajit Kanada
[ August 24, 2007: Message edited by: Ajit Kanada ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!