In fact, the it is a S/MIME message warpped in the the body of the mail and the javas class that decryptic this messages already exist and use Jaf. I would like know if it is possible that when mails cross processors (in spoolmanager), mails can be already d�cryptic by my classes using Jaf (work take place automaticely if I place the good DataHandler in the good file).
Ok, if that's the case, you can follow the rules in the the JAF Javadocs, specifically
http://java.sun.com/products/javabeans/glasgow/javadocs/javax/activation/MailcapCommandMap.html
So, you might just want to edit the mailcap file yourself, but it would be cool to plug it in nicely into James. If you do figure out the latter, please let us know.
I would add though that each trip through a processor will cause the MimeMessage to be reparsed. James does not keep the message in memory and tries to avoid loading it at all until required.
Sorry for my english :-(
No problem. It's my first language, but I still have problems.
-- Serge Knystautas President Lokitech >> software . strategy . design >> http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
