# 使用无效邮箱注册

**URL:** <https://meta.discourse.org/t/sign-up-with-invalid-email/126513>\
**Category:** Support\
**Created:** [2019年八月22日 10:42 UTC](https://meta.discourse.org/t/sign-up-with-invalid-email/126513 "2019-08-22T10:42:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [2019年八月22日 10:59 UTC](https://meta.discourse.org/t/sign-up-with-invalid-email/126513/4 "2019-08-22T10:59:16Z")

</div>

> [@Should importers import users with invalid email addresses by default?](https://meta.discourse.org/t/should-importers-import-users-with-invalid-email-addresses-by-default/71424/7?u=itsbhanusharma):
>
> Are you sure the error is on the email? I just tried this on the rails console and it worked fine User.create!(email: "invalid#{SecureRandom.hex}@no-email.invalid", username: "random")

> [@\[bounty\] Google+ (private ) communities: export screenscraper + importer](https://meta.discourse.org/t/bounty-google-private-communities-export-screenscraper-importer/108029/14?u=itsbhanusharma):
>
> I suggest you use a .invalid domain in order to prevent outgoing emails. Something like this: email = "#{id}@gplus.invalid"

---

_[View the full topic](https://meta.discourse.org/t/sign-up-with-invalid-email/126513)._
