> From: Frank-Michael B�hle wrote: <snipped>
> Where is my mistake? org.apache.james.transport.LinearProcessor.service() invokes a Mailet with a List of the recipients returned by the Matcher, that is all MATCHED recipients. If a recipient is not returned by the Matcher it will not be in the List passed to the Mailet. If no recipients are returned by the Matcher, the Mailet is not invoked at all. It is moved to the next stage in the evaluation If there is a mix of matched and unmatched recipients, the Mail is cloned. The original Mail is given the List of MATCHED recipients and the Mailet invoked. The cloned Mail is given a List of UNMATCHED recipients and moved to the next stage in the evaluation. For the purpose of writing Mailets it is simply safe to assume that it is invoked because the Matcher answered a non-empty List of recpients and that the recipients answered by Mail.getRecipients() is that List. -- Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
