# Should importers import users with invalid email addresses by default?

**URL:** <https://meta.discourse.org/t/should-importers-import-users-with-invalid-email-addresses-by-default/71424>\
**Category:** Development\
**Created:** [2017 年10 月 4 日 20:31 UTC](https://meta.discourse.org/t/should-importers-import-users-with-invalid-email-addresses-by-default/71424 "2017-10-04T20:31:51Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2018 年5 月 1 日 22:14 UTC](https://meta.discourse.org/t/should-importers-import-users-with-invalid-email-addresses-by-default/71424/6 "2018-05-01T22:14:14Z")

</div>

Hey, @zogstrip (who accepted the PR above), it looks like something has happened to the email validator (?) such that it no longer thinks that no-email.invalid is a valid domain, so now importers claim to be producing accounts with the new bogus email, but in fact, are not.

At least that’s what it looks like. I re-run an importer and get the same “creating with bogus email address” for the same names over and over. Or maybe I’m doing something silly.

> <https://github.com/discourse/discourse/blob/main/script/import_scripts/base.rb#L307>

---

_[View the full topic](https://meta.discourse.org/t/should-importers-import-users-with-invalid-email-addresses-by-default/71424)._
