How to create a rules to send an email when the user has a role?

by user90437   Last Updated November 15, 2018 15:07 PM

I installed the Rules module on my sites, but it has been in alpha for several years.

When I assign the role "Merchant" to a user, I want him to receive a confirmation email.

Here is my rule:

EVENTS: User update (rules_entity_update: user)

CONDITION: User role (I add merchant which is the machine name of the role)

ACTION: Send an Email

In "Actions" what should I put in "Send to" ?

Tags : 8 users rules


Related Questions