I need to assign a role based on email on registration process for example :
I create custom user role gmail & hotmail. User andy register an account to my site using [email protected] I want my site automatically assign andy to gmail user role after andy finish registration process. User rachel register an account to my site using [email protected] and my site will automatically add rachel to hotmail user role.