| |
|
| java.lang.Object org.apache.mailet.GenericMailet org.apache.james.transport.mailets.SetMailAttribute
SetMailAttribute | public class SetMailAttribute extends GenericMailet (Code) | | This mailet sets attributes on the Mail.
Sample configuration:
<mailet match="All" class="SetMailAttribute">
<name1>value1</name1>
<name2>value2</name2>
</mailet>
version: CVS $Revision: 494012 $ $Date: 2007-01-08 11:23:58 +0100 (Mo, 08 Jan 2007) $ since: 2.2.0 |
getMailetInfo | public String getMailetInfo()(Code) | | Return a string describing this mailet.
a string describing this mailet |
service | public void service(Mail mail) throws MessagingException(Code) | | Sets the configured attributes
Parameters: mail - the mail to process throws: MessagingException - in all cases |
|
|
|