Tellier Benoit created MAILET-163:
-------------------------------------

             Summary: 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


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