The from field is being formed like this:
Joe Submitter
This is highly problematic because people are hitting "reply" and sending, mistakenly, confidential email to the administrator.
I can imagine concern about revealing, inadvertently, someone's email address to a group by putting the author's email in the From line. But this should be configurable. The group in question is closed and everyone in the group has each other's email.
I appreciate the help.
Shai Gluskin
Comments
Comment #1
Shai commentedOops. My example got stripped because I forgot to use the code tag.
The "From" email is being formed like this:
Joe Submitter <adminemail@adminmail.com>Comment #2
Steve Dondley commentedI think instead of the administrator's email address, there should be a configurable "no-reply@" email address for organic groups. That way, if someone responds to an e-mail, it can bounce and let them know that the proper way to respond to a post made in an organic group is through the website.
Comment #3
Duncan Pierce commentedThis is a problem for me too. Ideally I'd like replies to go to the group owner, but an auto-responder as suggested by Steve would be ok and preferably in some circumstances.
There are several reasonable solutions - which is best depends on the situation. For a website named "Website" with a group named "Group" administered by
"Gary Group-Owner" <gary@example.com>and a post from"Patricia Poster" <patricia@another.example.com>we might want the notification email to come from:"Patricia Poster" <patricia@another.example.com>- Shai's situation"Website" <NO-REPLY@example.com>"NO-REPLY" <NO-REPLY@example.com>"Gary Group-Owner" <gary@example.com>"Group" <gary@example.com>- currently facing this one on xpday.orgAnd maybe others. There is a smallish set of reasonable From: names and From: addresses but probably not a direct one-to-one mapping.
Comment #4
moshe weitzman commentedComment #5
moshe weitzman commentedinitially, i think this could be done in a contrib module that implements hook_mail_alter(). the username is in the from address already, so one could grab the email address .. please give good warning to admins that email addresses will suddenly be exposed to subscribres and form_alter() away the advisory on the profile edit form under email address.
Comment #6
Duncan Pierce commentedSee also this issue, which looks like a duplicate which has been implemented.
Comment #7
moshe weitzman commented