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]

Attachment: attributemailets.tgz
Description: application/tgz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to