InsaneTrain Forums
What causes an "javax.activation.UnsupportedDataTypeException - Printable Version

+- InsaneTrain Forums (https://insanetrain.com)
+-- Forum: General (https://insanetrain.com/forumdisplay.php?fid=4)
+--- Forum: General Forum (https://insanetrain.com/forumdisplay.php?fid=8)
+--- Thread: What causes an "javax.activation.UnsupportedDataTypeException (/showthread.php?tid=21782)



What causes an "javax.activation.UnsupportedDataTypeException - leucetios - 04-01-2005

there is no way this means anything to me tonight :S


Quote:[b]Answer
The Java Activation Framework used by JavaMail is not configured correctly.


It doesn't know how to handle the text/html content type.

An html handler is provided in JavaMail 1.1.3 but the mailcap file is not configured to use it.

Add to your mailcap file the line:

text/html;; x-java-content-handler=com.sun.mail.handlers.text_html

and create a multipart message when sending html messages, otherwise it will not be recognised as an HTML page from the client. HTML messages does not cause this problem with the 1.2 release of the JavaMail API.

[/b]


What causes an "javax.activation.UnsupportedDataTypeException - Banana - 04-01-2005

Drinking on the job causes it. I think.


What causes an "javax.activation.UnsupportedDataTypeException - leucetios - 04-01-2005

Banana Wrote:Drinking on the job causes it. I think.

I soo was not working while I was drinking


What causes an "javax.activation.UnsupportedDataTypeException - mad_hatter - 04-01-2005

Take your fucking geek shit somewhere else, leo


What causes an "javax.activation.UnsupportedDataTypeException - Banana - 04-01-2005

mad_hatter Wrote:Take your fucking geek shit somewhere else, leo
Don't make me make you bend over. Play nice.


What causes an "javax.activation.UnsupportedDataTypeException - leucetios - 04-01-2005

Banana Wrote:Don't make me make you bend over. Play nice.

my heroine :wub:


What causes an "javax.activation.UnsupportedDataTypeException - mad_hatter - 04-01-2005

Banana Wrote:Don't make me make you bend over. Play nice.

I am not (that) scared of you >_>


What causes an "javax.activation.UnsupportedDataTypeException - snarg - 04-01-2005

Banana Wrote:Don't make me make you bend over. Play nice.


don't use the strap-on that you use for jimmy
that will really piss him off
a word to the wise and all that


What causes an "javax.activation.UnsupportedDataTypeException - Banana - 04-01-2005

snarg Wrote:don't use the strap-on that you use for jimmy
that will really piss him off
a word to the wise and all that
Snarg, I am way ahead of you....Leu and I have our own strap on.


What causes an "javax.activation.UnsupportedDataTypeException - leucetios - 04-01-2005

Banana Wrote:Snarg, I am way ahead of you....Leu and I have our own strap on.

does this help my board cred?


What causes an "javax.activation.UnsupportedDataTypeException - leucetios - 04-01-2005

This thread is proof that I am working today by the way