Taimur Awan wrote:
Hi There,
I a using James 2.2.0 Version.The probelm i am facing is that the AttachmentFileNameIs Matcher gives the java.io.UnsupportedEncodingException.
This exception is displayed in the spoolManager log. The details of exception displayed are as follows.
....
Does your message contain any attachments? If yes, are there any attachments for which it should match?
Those questions come out from the fact that the matcher should always match if at least one attachment matches the match string, otherwise it can either simply not match or end up with an exception, depending on the specific situation, and it should be ignored.
The matcher should be invoked with a config.xml entry like the following:
<mailet match="AttachmentFileNameIs= ..." class="..." onMatchException="noMatch">
If the answer is yes for both questions above, let me know, because in this case there is a problem, otherwise not. I'm right now working on this mailet for other reasons and I just found a problem with SMIME signed messages, somehow related.
Vincenzo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
