Exceptions sending emails through a jar. Please Help!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rick_Good
Posted On:   Wednesday, July 17, 2002 10:08 AM

I'm using JavaMail 1.2 and I'm getting the following exception when trying to Transport.

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


It works when I run from JBuilder but when I package it into a jar I get this. I was getting


No Provider For Address Type: rfc822


but I found on this site how to fix that.


Please HELP!

Re: Exceptions sending emails through a jar. Please Help!

Posted By:   Rick_Good  
Posted On:   Wednesday, July 17, 2002 10:45 AM

For anyone who's interested, I had to add files to the Meta-Inf directory and add some lines to my manifest file.


If you are wondering, I added the files from the activation.jar meta-inf dir and mail.jar meta-inf.jar and added lines to the manifest.mf to correspond to those files

About | Sitemap | Contact