We would like to use [privatemsg_message:author:mail] in the "From e-mail address for notifications" field and doesn't work. If I write the token in the from address it appears literally in the from address of mails.
I'm aware this will reveal the sender's email and won't be a"private" message anymore but that's exactly the point. We would like privatemessage to be a reminder of the first contacts and we would prefer further communications to happen through e-mail.
Was this availabe in previous versions? (we are working with 7.x-2.x-dev).
I'm not sure if the category would be feature request or support request (beceause maybe I'm doing something wrong).
Ple
Comment | File | Size | Author |
---|---|---|---|
#4 | private_message_1366118.patch | 1.22 KB | chrisschaub |
Comments
Comment #1
javdich CreditAttribution: javdich commented@trevonio I think the option for this could be useful. Did you ever find out how to make this work?
Comment #2
BerdirYou just need to call token_replace() the same way as it's called for subject and boy, should be a one line patch.
Comment #3
chrisschaub CreditAttribution: chrisschaub commentedDid this ever get checked in or fixed? Seems like a bug since tokens are allowed everywhere else? It should at least say not allowed if not.
Comment #4
chrisschaub CreditAttribution: chrisschaub commentedAnd here's a patch to make it happen. Seems harmless because you can just use the default behaviour if you want. Or you can use the tokens.
Comment #6
chrisschaub CreditAttribution: chrisschaub commentedSwitching the version to 7.x-1 since that is the current rev. The patch is against that revision. It should work on 2.x though.
Comment #7
chrisschaub CreditAttribution: chrisschaub commented#4: private_message_1366118.patch queued for re-testing.
Comment #8
BerdirThanks, commited to 7.x-2.x and 7.x-1.x
Comment #10
carlos_lopez_trevonio CreditAttribution: carlos_lopez_trevonio commentedThanks @cschaub
Comment #11
carlos_lopez_trevonio CreditAttribution: carlos_lopez_trevonio commentedTried with 7.x-1.3 with no luck.
I used [current-user:mail] since seems that [privatemsg_message:author:mail] is not available anymore.
Was the code commited?
Comment #12
BerdirYes it was, but a7.x-1.3 is older than the commit date, so exists in the dev snapshot and will exist in the next stable version.