[ 
https://issues.apache.org/jira/browse/MAILET-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756951#comment-16756951
 ] 

Tellier Benoit commented on MAILET-163:
---------------------------------------

We could also think about a "symetric" `SetSender` mailet.

> Implement a SetRecipients mailet
> --------------------------------
>
>                 Key: MAILET-163
>                 URL: https://issues.apache.org/jira/browse/MAILET-163
>             Project: James Mailet
>          Issue Type: New Feature
>          Components: Base Mailets
>            Reporter: Tellier Benoit
>            Priority: Major
>              Labels: newbie
>
> This mailet will reset the recipients of processed emails to a configured 
> value.
> This would enable configuring use cases like cryptearth (Matt) one:
> {code:java}
> In my personal mail setup,
> I want to redirect all incoming emails to a single account.
> {code}
> In **mailet/standard** maven module implement a SetRecipients mailet doing 
> this. You will also write junit tests for it.
> Proposed configuration is:
> {code:java}
> <mailet matcher="..." class="SetRecipients">
>     <recipients>[email protected],[email protected]</recipients>
> </mailet>
> {code}
> Don't hesitate to reach us on gitter if needed!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to