javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary

前端 未结 11 2428
暖寄归人
暖寄归人 2020-12-03 17:01

Currently I\'m inline of writing a code that will be listening to a directory. when the directory is updated with .apk file, I\'ll send a mail with this .apk file to a gmail

11条回答
  •  不思量自难忘°
    2020-12-03 17:30

    Adding the current thread before sending the email is the solution:

    Thread.currentThread().setContextClassLoader( getClass().getClassLoader() );
    

提交回复
热议问题