Mark Daring wrote: > you dont need to write your own DataHandler, just use what > allready exists. > You could use the default Handler of the > message/rfc822-messages and extend > the MimeMessage class. > For example your mailcap-file (take a look at > mail.jar/META-INF/mailcap) > would then look something like this: > "... > message/rfc822;; > x-java-content-handler=com.sun.mail.handlers.message_rfc822 > message/delivery-status;; > x-java-content-handler=com.sun.mail.handlers.message_rfc822"
I'll test this as soon as I get a little time for it. But why do I need to extend the MimeMessage class? As far as I can see, it does nothing new. Thanks for your help! Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]