Hi thanks for the module,

Im using rules to send html mails to every user of a certain role. However I cant specifiy the receivers name in the email. Ive tried various tokens such as [user:name] but that do not get converted.

How can I get the recipients name in the body of the email?

thanks for any help

Comments

mchris82’s picture

This is a great module!

I've run into the same issue as ocamp today when trying to set up an email rule for all users of a specific role.

I want to specify a custom greeting like "Hi [user:name]," but I'm unable to find a token that works for this when using the "Send HTML mail to all users of a role" action.

shaisamuel’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.0-beta3
Category: Support request » Feature request
Issue summary: View changes

This is something which makes much sense, so the messages can be personalize. The recipient name is just one item, I would love to have any of the user fields.
This will require adding a token, which can take from rules the node/user that was related to the rule firing. I which I knew how to develop something like this, but I am not yet into module development.