Possible to set Envelope-to: header separate from To: header?

Posted by Coleen_Astalos on
URL: https://support.nabble.com/Possible-to-set-Envelope-to-header-separate-from-To-header-tp7590029.html

In the send_subscription_email (which calls the n.send macro I can't see), is it possible to set the "Envelope-to" address to person the email is actually going to (local_subscription.user.user_email) and the To: address to reflect the email address of the forum (n.local_subscription.user.reply_address_for.local_node/)

In looking at the headers of Yahoogroup emails, this is how they are set so that a reply will go to the original submitter of the item to the forum and a reply-all will go to both that person and the list address.   This is what an email received from a Yahoogroup mailing list looks like:
To: sudsol@yahoogroups.com (the list address)
Envelope-to: coleen@sudsol.com (the address of the person receiving the email)
Sender: sudsol@yahoogroups.com (the list address)
From: sender@email.com (the email address of the poster)

I am able to set the "Sender" header using
<n.set_header name="Sender" value="[n.local_subscription.user.reply_address_for.local_node/]"/> 

I've tried setting the "Envelope-to" the same way, but it ends up getting overwritten - I believe within the "send" macro itself - set to the same as what is passed for the to: <to.local_subscription.user.user_email/> 
The "Envelope-to" is what is actually used to deliver the email - so it would be correct to set it to the local_subscription.user_email
The "To:" is not actually used for delivery, but used display who the message was originally sent to (which actually was the forum)

I believe if we can set the Envelope-to and the To independently, I can finally get to the solution my members desire being able to reply to the person individually (using Reply) and to reply to the individual AND the list (using Reply-All).

Let me know.
Thanks,
Coleen