You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mailet-api@james.apache.org by "Tellier Benoit (JIRA)" <ma...@james.apache.org> on 2019/01/31 07:19:00 UTC
[jira] [Commented] (MAILET-163) Implement a SetRecipients mailet
[ 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>user1@domain.tld,user2@otherDomain.tld</recipients>
> </mailet>
> {code}
> Don't hesitate to reach us on gitter if needed!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)