Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mchris82 CreditAttribution: mchris82 commentedThis 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.
Comment #2
shaisamuel CreditAttribution: shaisamuel commentedThis 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.