Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Copy page content in OUTLOOK body  RSS feed

 
Ingoba Ningthoujam
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a requirement.I got a JSF page(parent page). When a button(say SEND EMAIL) is pressed, an email window (native to the client machine e.g. OUTLOOK) will be displayed as a popup. I have to populate whatever the data(any data e.g., table,images etc) in the parent page as the body of the mail.

Please anybody help me.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are kind off stuck with the attributes of the HTML mailto tag for this I think. Its happening client side if you are invoking the client's email program. There is nothing a serverside technology can do here.

You tell the mail client to include more in the email by using the subject and body parameters, e.g. mailto:whoever@whereever&subject=Hello&body=Blah. Its then down to the mail client program as to whether it does anything wioth these values.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!