1

Is possible by default in Drupal 7 to have more than one email associate for a user ?

1 Answer 1

1

In the Users table, 'mail' - the field for email addresses, is unique, as it's tied to other criteria to control account management, login, logout, etc.

So depending on what you are trying to accomplish, I dont think you could have more than one email control one account without some custom database changes.

However if you simply want to link an account to multiple email addresses, perhaps this is as simple as an 'email address' field for the profile. Adding unlimited to that field for the form would invoke the 'add another' and the user could simply have as many as they needed.

If you wanted that person to be able to login with any of those email addresses, then a quick module could link the fields together so that the email addressed used had a primary account referenced by it, and, then would proceed with login.

Or, I could be way off - what are you ultimately trying to accomplish?

2
  • In D6 name filed is used for login is this changed in D7 ? are you sure its the mail field used for loggin in ?
    – GoodSp33d
    Jul 22, 2012 at 11:30
  • oh, sorry, I was a little unclear there. I wasn't suggesting that the email address was responsible for logging in and out, just that it's unique and used for account management (email notifications; password resets, for example). Logintoboggin is a good example of a module that decides which of these criteria should be used for logging in, should a custom module be developed to decide which email to use.
    – blue928
    Jul 22, 2012 at 21:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.