wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes how to send a html page in email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to send a html page in email" Watch "how to send a html page in email" New topic
Author

how to send a html page in email

Michael L. Zhang
Ranch Hand

Joined: Jul 06, 2003
Posts: 33
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

Joined: Jan 10, 2002
Posts: 60810
    
  65

No, not with mailto. You'll need to use the JavaMail API.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: how to send a html page in email
 
Similar Threads
sending html forms
Web report to Excel attachment in email
Create new email message
How to uudecode
E-mailing functionality in Java