Really good! I would add another matcher:
<mailet match="HasMailAttributeValue=hmm=bla" class="Null"/> and/or <mailet match="HasMailAttributeValueRegex=hmm=<aRegularExpression>" class="Null"/> Vincenzo > -----Original Message----- > From: Soeren Hilmer [mailto:[EMAIL PROTECTED] > Sent: giovedì 26 giugno 2003 13.17 > To: James Developers List > Subject: [PATCH] new mailets/matcher acting on Mail attributes. > > > This patch supplies a set of mailets and a matcher for > manipulating attributes > on the Mail instance. > > They are: > SetMailAttribute - sets attribute(s) on the Mail like: > <mailet match="All" class="SetMailAttribute"> > <received>root</received> > <hmm>bla</hmm> > </mailet> > > RemoveMailAttribute - removes attribute(s) from the Mail like: > <mailet match="All" class="RemoveMailAttribute"> > <name>received</name> > <name>hmm</name> > </mailet> > > RemoveAllMailAttributes - removes all attributes (maybe you want > to ensure > attributes from being persisted) like: > <mailet match="All" class="RemoveAllMailAttributes"/> > > HasMailAttribute - returns all recipients if the attribute named in the > condition is set on the Mail > <mailet match="HasMailAttribute=hmm" class="Null"/> > > --Søren > > -- > Søren Hilmer, M.Sc. > R&D manager Phone: +45 70 27 64 00 > TietoEnator IT+ A/S Fax: +45 70 27 64 40 > Ved Lunden 12 Direct: +45 87 46 64 57 > DK-8230 Åbyhøj Email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]