You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2019/11/06 07:22:00 UTC

[jira] [Created] (JAMES-2970) AddErrorToMail mailet

Benoit Tellier created JAMES-2970:
-------------------------------------

             Summary: AddErrorToMail mailet
                 Key: JAMES-2970
                 URL: https://issues.apache.org/jira/browse/JAMES-2970
             Project: James Server
          Issue Type: New Feature
          Components: Mailet Contributions
            Reporter: Benoit Tellier


This mailet will set the parametered message on matched email.

This will allow to 'artificially' create error, and build features on top of mail processing error.

Sample configuration:

{code:java}
<mailet matcher="All" class="AddErrorToMail">
    <errorMessage>Sample error message</errorMessage>
</mailet>
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org