[ https://issues.apache.org/jira/browse/JAMES-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16968139#comment-16968139 ]
Benoit Tellier commented on JAMES-2970: --------------------------------------- PR https://github.com/linagora/james-project/pull/2828 contributed this. > 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 > 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="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-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org