wml MIME for JavaMail
1 posts in topic
Flat View  Flat View

Posted By:   Achintya_Bakre
Posted On:   Thursday, June 7, 2001 01:45 AM

I want to set the MIME type for my JAVAMail as text/vnd.wap.wml

I am getting "javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/vnd.wap.wml" if I write msg.setContent(sb.toString(),"text/vnd.wap.wml");

Can you please tell me, what I need to do?? I read the article for setting MIME type text/html, but still could not understand what to do for wml

Re: wml MIME for JavaMail

Posted By:   John_Zukowski  
Posted On:   Friday, June 8, 2001 11:19 AM

There needs to be a handler installed. There is one for HTML. There isn't one for WML. Create the necessary class and add a line to the javamail.providers file.
About | Sitemap | Contact