File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes HTML email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTML email" Watch "HTML email" New topic

HTML email

vasu maj
Ranch Hand

Joined: Jul 12, 2001
Posts: 396
In our website there is a user filled form which when fails ( database down or whatever reason) user will get standard thank you message but developers get an email with all the user filled data so it can be saved to the database after whatever was the problem was fixed. Problem now is the HTML is sent in the email as text. Whoever gets the email has to parse the text and fill the form manually. Is there a way for it to be sent in the email as a clickable html so the pain of filling the actual form can be avoided?



What a wonderful world!
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
Send it as HTML, you can read my presentation on the java mail api at

Page 13 starts info on html.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
vasu maj
Ranch Hand

Joined: Jul 12, 2001
Posts: 396
Thanks very much. It worked.

I agree. Here's the link:
subject: HTML email
It's not a secret anymore!