Possible to set Envelope-to: header separate from To: header?
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: email@example.com (the list address)
Envelope-to: firstname.lastname@example.org (the address of the person receiving the email)
Sender: email@example.com (the list address)
From: firstname.lastname@example.org (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).
Re: Possible to set Envelope-to: header separate from To: header?
Pedro <Nabble> wrote
We have tried to set the Envelope-to header, but it is not so easy to that. Besides, I'm not so sure it would solve your issue.
Please don't dismiss this so quickly. This is the #1 complaint I have from my users - being able to reply easily to the sender with the reply feature of their email and to both the sender & forum with reply-all . When we switched from Yahoogroups to Nabble in December , we had 1052 users, now we're down to 990 users. I know much of this decline is because of the switch to Nabble. It's really hard for people to adjust to change. I'm trying to make that change as small as possible by giving them similar features to what they had on the Yahoogroup. This is the only remaining issue I have.
I truly believe that Nabble is FAR SUPERIOR to Yahoogroups, as there are a lot more features available. But the lack of this one feature is killing us. I'm willing to stand on my head and turn in circles, do anything to make this feature available. I'm willing to do the changing, testing, etc. - but this is a section of the code that you've not made open for me to customize.
Do I know for certain it will work? No. But I hope it will! I've done a lot of research on this. I've compared all the headers from Yahoogroups configured to Reply to Sender as well as Yahoogroups configured to Reply to the List to see the difference. The key thing appears to be the "Envelope-To" setting differs from the "To:" line. In a Yahoogroups email, the To: line is the mailing list address. The Envelope-To line is the final recipient of the email.
Plus these settings make sense for a mailing list. The poster sent their email To the forum (To: line is maintained as the forum address"). The forum then redelivers the email to all the subscribers - using the Envelope-To header (that's what actually makes the mailing delivery happen - what's in the Envelope-To, not what's in the To line.)
My reasoning of why this will work is...
When the email is received by the subscriber, the "Reply" option sends a reply to the email address in the "From" line (which in our case would be the poster of the note to the forum). If on the email there is more than one recipient then the "Reply-All" option becomes available within the email program. The Reply-All sends a reply to the address in the From: line header PLUS any email addresses in the To: line besides the recipient. Since the To: line maintains the forum address, that would cause it to issue a reply to both the original poster and the forum.
Please, pretty please (beg, beg, grovel, grovel), can you look into this further, or give me access to the Send module so I can modify it to try it out for myself?
The Reply-To header overrides both the Reply and the Reply-All features to only reply to the email address(s) specified. So in both situations it would ALWAYS have both the original poster and the forum. In my experience, 90% of the time users will select Reply as their response is only intended for the original poster. But 10% of the time they also want it to go to the forum as well as the original poster, that is when they use Reply-All.
RE: Possible to set Envelope-to: header separate from To: header?
Just double checking you got the emails I sent you about this with the email address (since Nabble blocks) as well as another example sent from a different email address than the receiving email address.