How do I automatically assign a role to new users based on the email address domain?
For instance if the email address is [email protected]
, and the condition is that all users from examplecompany.com
should always have the role specialclient
. How do I acheive this?
I am using Rules, but there are no specific email conditions to be found. Can I create my own Rules Condition? If so, I would be very grateful for any tips on how to accomplish this.