How to use Confluence Share button to send e-mail with sender's reply-to email
Asked by David Yu:

I'm using Confluence 3.5 and have tried using the Share button. When it sends the mail, users will receive a copy but the REPLY-TO field maps to a fixed value. I use [noreply@example.com](mailto:noreply@example.com).

I can't seem to find a way to get the REPLY-TO field to actually use the name of the person doing the sharing.

The [documentation](http://confluence.atlassian.com/display/CONF35/Configuring+a+Server+for+Outgoing+Mail) states I can use the variable ${email} but that value is not interpreted.

Is this basic use case not supported or am I doing something wrong?

Thanks!


Answers:
author: Matin Schiemann
body: Hi again Peter,

see <https://jira.atlassian.com/browse/CONF-27235#comment-416004> - it was my mistake. The behaviour has been changed, and i ran into old improvement requests which let me think that it was an unresolved problem. Confluence does use the users address as reply-to in a share:

```
Received: from kbbvm-confluence (10.10.10.91) by KBBVM-KBBCAS01.kbb.intern (10.10.10.32) with Microsoft SMTP Server id 14.2.283.3; Wed, 14 Nov 2012 08:27:36 +0100Date: Wed, 14 Nov 2012 08:27:04 +0100From: "Schiemann, Matin (KBB-Wiki)" &lt;kbb-wiki@kbb.eu&gt;Reply-To: &lt;Matin.Schiemann@kbb.eu&gt;To: &lt;registrations@kbb.eu&gt;
```

Regards

Matin

comments: author: David Yu
body: Indeed it does. I made a visual mistake by onnly scanning at the FROM: header, and not the REPLY-TO:.


author: Matin Schiemann
body: Good morning Peter,

and thanks for your swift answer. Not all of the cases you mention target my concern though. I ask for a tiny change, it's just the "share page" i am talking about, which should use the user's email as reply-to. because no user understands that he can not at all react to this email, and there will always be shares which carry relevant information in the note. I understand that there are other thoughts which target notifications, comments, email to pages, and i appreciate them. But this one is a matter of usability and acceptance in an environment with non-IT confluence users, who already have to accept a more abstract way of information and a cultural change when working with wiki software. What happens in the moment is that users learn that they have to overwrite the senders address in wiki-mails when replying to a share. And they learn it from the non-delivery report and a call at it-support.

John Masson reacted to <https://jira.atlassian.com/browse/CONF-27235> , and what he says now is "As we discussed in [\<del\>CONF-10543\</del\>](https://jira.atlassian.com/browse/CONF-10543 "Reply-To for emailed articles should be user email address"), if you use the Share button to share a page, the from and reply-to will be set as yourself" which puzzles me a bti, because it does not. I'll check with him and see...

Kind Regards,

Matin


author: PeterKoczan
body: Hi,

There are and were several feature/improvement requests on this topic, however I see a small chance that this will be implemented in such way. The concept of a collaboration wiki is to share information/feedbacks within the wiki (not via email), so I believe the main reason why most of such feature requests are marked as "Won't Fix" is this.

To implement something similar, but in a different way, you can find the improvement request here: <https://jira.atlassian.com/browse/CONF-5002>

Other related requests:

<https://jira.atlassian.com/browse/CONF-24971>

<https://jira.atlassian.com/browse/CONF-23372>

<https://jira.atlassian.com/browse/CONF-7071>

<https://jira.atlassian.com/browse/CONF-22637>

You may alter email templates though that would allow you to make modifications: <https://confluence.atlassian.com/display/DOC/Customising+the+eMail+Templates>

This could get you closer to what you want to achieve.

Regards,

Peter


author: Matin Schiemann
body: Hi David,

i just created <https://jira.atlassian.com/browse/CONF-27235> please vote!

Best

Matin Schiemann


Tags: email

share