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:40:00 UTC

[jira] [Updated] (JAMES-2970) SetErrorMessage mailet

     [ https://issues.apache.org/jira/browse/JAMES-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier updated JAMES-2970:
----------------------------------
    Description: 
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="SetErrorMessage">
    <errorMessage>Sample error message</errorMessage>
</mailet>
{code}


  was:
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}



> SetErrorMessage 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
>            Priority: Major
>
> 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="SetErrorMessage">
>     <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