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

java mail, mime type

Sunil K Bansal
Ranch Hand

Joined: Jan 04, 2001
Posts: 62
Hi guys,
i m want to send e-mail with the folowing code...
I m using tomcat 4
i hv tomcat installed on two systems
one one system it is running fine
but on one system it throws an exception
like no DCH for mime type text/html
and if i change mime type to text/plain
it runs fine...
i think this is problem of tomcat installation
i want to know where i need to set in tomcat configuration, so that it shud accept text/html mime type
I agree. Here's the link:
subject: java mail, mime type
jQuery in Action, 3rd edition