• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to send a html page in email

 
Michael L. Zhang
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our website has a mailto link with source like "mailto:?body=linkofabookmark" , so user can launch email client and send the bookmark links to friends.

We are now required to launch the user's email client with the real html page already filled inside the body of the email. So their recipents can view the html page directly in their email instead of always clicking the link to view it.

Is that possible by using the tricks of "mailto"?

If "mailto" is not capable to do this, how can I do that? If I move the logic to server/servlet side, how can I send a HTML email?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, not with mailto. You'll need to use the JavaMail API.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic