Java Mail Jargon. (/javax/demos/msgsend.java). no object DCH for MIME type text/plain; charset=us-ascii
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rajat_Sharma
Posted On:   Sunday, April 21, 2002 04:02 PM

I am getting this exception < < < < < javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii at javax.mail.Transport.send0(Transport.java:219) at javax.mail.Transport.send(Transport.java:81) at code.TmfTestTool.msgsent(TmfTestTool.java:4466) at code.TmfTestTool. (TmfTestTool.java:83) at code.NmlCorbaClient.main(NmlCorbaClient.java:193) >>>>> when I put the javamail example code    More>>

I am getting this exception

< < < < <
javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at code.TmfTestTool.msgsent(TmfTestTool.java:4466)
at code.TmfTestTool. (TmfTestTool.java:83)
at code.NmlCorbaClient.main(NmlCorbaClient.java:193)
>>>>>



when I put the javamail example code (/javax/demos/msgsend.java) in my own server code for the Corba Client Application.



Intrestingly, the program runs successfully when it's a stand alone.



I tried calling msgsend constructor from my own application so that as soon as the initialization occurs the email is sent. I tried other alternatives too, but it seems that
this program runs only when it's running standalone.


u could contact me directly at rasharma@oni.com. Thanks    <<Less

Re: Java Mail Jargon. (/javax/demos/msgsend.java). no object DCH for MIME type text/plain; charset=us-ascii

Posted By:   John_Zukowski  
Posted On:   Sunday, April 21, 2002 10:36 PM

Make sure your server is using the latest version of the JavaMail API classes. Sounds like an old error message. Be sure to search the FAQ for possible answers too.
About | Sitemap | Contact