# Grant admin 確認メールが送信されません

**URL:** https://meta.discourse.org/t/grant-admin-confirmation-mail-not-sent/357392
**Category:** Support
**Created:** [2025 年 3 月 15 日午後 12:31 UTC](https://meta.discourse.org/t/grant-admin-confirmation-mail-not-sent/357392 "2025-03-15T12:31:49Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [2025 年 3 月 15 日午後 9:09 UTC](https://meta.discourse.org/t/grant-admin-confirmation-mail-not-sent/357392/11 "2025-03-15T21:09:11Z")

</div>

こちらで確認できます。

> [@What is the Rails command to create an admin user in Discourse?](https://meta.discourse.org/t/what-is-the-rails-command-to-create-an-admin-user-in-discourse/147545):
>
> As told in [this](https://meta.discourse.org/t/how-to-manually-add-users-and-email-in-console-mode/26669/9) post, when I run this command to create an admin user on a new disco installation, thru rails console (without having to activate thru email, for just once, for one admin): u = User.create!(username: ‘xx’, email: ‘xx@xx.com’, password: ‘xxx’, mailing\_list\_mode: ‘true’);u.approve(Discourse.system\_user, false) ; u.activate I get this error: [1] pry(main)\> =“u = User.create!(username: 'user1’, email: ‘user1@email.com’, password: ‘Password12345’, mailing\_list\_mode: ‘true’);u.app…

---

_[View the full topic](https://meta.discourse.org/t/grant-admin-confirmation-mail-not-sent/357392)._
