In account settings ,Account Activation mail settings is general i think so.
I want the account activation mail to be altered. I want to check roles, according to that display the mail messages .
how will i do that?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
You should look into the hook_mail_alter for overriding the mail, which get send after user_save. You can look into the answer given for this question here --
Though question is not relevant but the answer is.