I am importing a large set of users from a old CMS that has about 10k+ users that have no email or badly formatted emails.
I want to force this to import, but Drupal wants to validate the email string.
Is there anyway to temporarily disable this?
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 communityI am importing a large set of users from a old CMS that has about 10k+ users that have no email or badly formatted emails.
I want to force this to import, but Drupal wants to validate the email string.
Is there anyway to temporarily disable this?
Better will assign some email (e.g. unknown_XXX@garbage.com, where XXX is row number of csv) to email of unassigned users. There's tonn of software that work with CSV.
After importing, you can run sql update command that will assign to emails '' value for that garbage email.
p.s. Also you can setup Rules module, that check if email equal to garbage email and warn him to change his email.