Frank-Michael B�hle wrote: > --- Steve Brewin <[EMAIL PROTECTED]> schrieb: > > > org.apache.james.transport.LinearProcessor.service() > > invokes a Mailet with a > > List of the recipients returned by the Matcher, that > > is all MATCHED > > recipients. > > > No! It invokes the Mailet with a Parameter of type > Mail.
The recipients list is an attribute of the Mail. To be absolutely accurate, org.apache.Mailet requires it to be a java.util.Collection. > > 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. > > > > -- Steve > > > Now the fog seems to disappear. That means, that the > recipient list might be modified by James before > invoking a mailet? Within the mailet, if I pull the > recipient list from the Mail-parameter, I will only > see the matching recipients? Correct. -- Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
