Package org.apache.james.mailet.standard.mailets

Core mailets for use with the Mailet API.

See:
          Description

Class Summary
AbstractAddFooter An abstract implementation of a mailet that add a Footer to an email
AddFooter This mailet will attach text to the end of the message (like a footer).
AddHabeasWarrantMark This matcher adds the Hebeas Warrant Mark to a message.
AddSubjectPrefix Add an prefix (tag) to the subject of a message

Sample Configuration:
<mailet match="RecipientIs=robot@james.apache.org" class="TagMessage"> <subjectPrefix>[robot]</subjectPrefix> </mailet>

ClamAVScan Does an antivirus scan check using a ClamAV daemon (CLAMD)

Interacts directly with the daemon using the "stream" method, which should have the lowest possible overhead.

ClassifyBounce Assesses the message to determine if it was a hard or soft bounce, and if it was a soft bounce, something of its nature..
HeadersToHTTP Serialise the email and pass it to an HTTP call Sample configuration: http://192.168.0.252:3000/alarm Test ParameterValue true
LogMessage Logs Message Headers and/or Body.
MailAttributesToMimeHeaders Convert attributes to headers Sample configuration: <mailet match="All" class="MailAttributesToMimeHeaders"> <simplemapping>org.apache.james.attribute1; headerName1</simplemapping> <simplemapping>org.apache.james.attribute2; headerName2</simplemapping> </mailet>
Null Simplest Mailet which destroys any incoming messages.
OnlyText Keep only the text part of a message.
PatternBean A data helper bean holding patterns, substitutions and flags
PatternList A data helper bean holding a lists of patterns, substitutions and flags
PostmasterAlias Rewrites recipient addresses to make sure email for the postmaster is always handled.
RecipientToLowerCase GenericMailet which convert all Recipients to lowercase
RecoverAttachment This mailet takes an attachment stored in an attribute and attach it back to the message This may be used to place back attachment stripped by StripAttachment and stored in the attribute org.apache.james.mailet.standard.mailets.StripAttachment.saved <mailet match="All" class="RecoverAttachment" > <attribute>my.attribute.name</attribute> </mailet >
RemoveAllMailAttributes This mailet sets removes all attributes set on the Mail instance Sample configuration: <mailet match="All" class="RemoveAllMailAttributes"/>
RemoveMailAttribute This mailet sets attributes on the Mail.
RemoveMimeHeader Remove mime headers Sample configuration: <mailet match="All" class="RemoveMimeHeader"> <name>header1</name> <name>header2</name> </mailet>
ReplaceContent Replace text contents This mailet allow to specific regular expression to replace text in subject and content.
SerialiseToHTTP Serialise the email and pass it to an HTTP call Sample configuration: URL url where serialised message will be posted ParameterKey An arbitrary parameter be added to the post ParameterValue A value for the arbitrary parameter MessageKeyName Field name for the serialised message passThrough true or false
ServerTime Returns the current time for the mail server.
SetMailAttribute This mailet sets attributes on the Mail.
SetMimeHeader Adds a specified header and value to the message.
StripAttachment Remove attachments from a Message.
ToProcessor This mailet redirects the mail to the named processor Sample configuration: <mailet match="All" class="ToProcessor"> <processor>spam</processor> <notice>Notice attached to the message (optional)</notice> </mailet>
UnwrapText Remove (best effort to) the hardcoded wrapping from a message.
UseHeaderRecipients Mailet designed to process the recipients from the mail headers rather than the recipients specified in the SMTP message header.
WrapText Convert a message to format=flowed
 

Package org.apache.james.mailet.standard.mailets Description

Core mailets for use with the Mailet API.



Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.