开发者

sending emails sometimes gets UnsupportedDataTypeException: no object DCH for MIME type

开发者 https://www.devze.com 2023-02-26 21:15 出处:网络
I have a Java email service which is running on Windows as service with Apache deamon. The service is facing some issue while sending emails.

I have a Java email service which is running on Windows as service with Apache deamon. The service is facing some issue while sending emails.

javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_2_3039027开发者_如何学编程4.1303241582331

Meanwhile I tried to run on different machine and problem is occurring only on some machines.

When I am simply running the stand-alone Java program, it's able to send email. When I run it from "Services panel" then it's throwing the error.


I found that the there was JDK update to 1.6 after which the setup stopped working. I have re-installed the JDK1.5 and things are working again. But not sure why update interfared with email functionality.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号