[
https://issues.apache.org/jira/browse/CAMEL-12119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16311028#comment-16311028
]
Simon IJskes commented on CAMEL-12119:
--------------------------------------
It is not used in the SMTP server, it only signals camel-mail that instead of
the combination of To, Cc, Bcc the X-Recipient should be used to send the email
to.
The Envelope-To or X-Envelope-To header is already used for the same
distinction between destination and "to:" header, but it is used on the
receiving side.
Maybe the X-recepient header should be removed just before sending.
> allow override of smtp recipients
> ---------------------------------
>
> Key: CAMEL-12119
> URL: https://issues.apache.org/jira/browse/CAMEL-12119
> Project: Camel
> Issue Type: Improvement
> Components: camel-mail
> Affects Versions: 2.20.1
> Reporter: Simon IJskes
> Priority: Minor
> Attachments: new.txt
>
>
> Currently there is no way to override recipients for a SMTP email.
> In order to forward an email to a secundairy address not specified in the
> content-addressing, aka 'a redirect', a header called 'X-recipient' could be
> used to override the recipients of the email.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)