File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes javax.mail.MessagingException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic


Nandan Jain
Ranch Hand

Joined: Feb 14, 2006
Posts: 44
I am trying to send email using servlet and everytime getting fillowing error:
May anyone let me know what do I do ?

javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Please do not ask the same question more than once. Continue any discussion in your previouspost on this issue.
[ July 24, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: javax.mail.MessagingException
It's not a secret anymore!