# Command to turn on mailing list mode per user?

**URL:** https://meta.discourse.org/t/command-to-turn-on-mailing-list-mode-per-user/39373
**Category:** Support
**Created:** [February 10, 2016, 10:25pm UTC](https://meta.discourse.org/t/command-to-turn-on-mailing-list-mode-per-user/39373 "2016-02-10T22:25:25Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![optimus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/optimus/32/39715_2.png) [@optimus](https://meta.discourse.org/u/optimus)
#### Post date: [February 10, 2016, 10:25pm UTC](https://meta.discourse.org/t/command-to-turn-on-mailing-list-mode-per-user/39373/1 "2016-02-10T22:25:25Z")

</div>

Hi, I’d like to be able to run a command from rails console to enable mailing list mode for specific users so that I can make sure some specific people get emails for new topics posted in categories they are interested in. Is this possible? Also, can I enable it so the users will only get email notifications when topics are posted to a specific category?

TIA,  
Chris

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 10, 2016, 11:17pm UTC](https://meta.discourse.org/t/command-to-turn-on-mailing-list-mode-per-user/39373/2 "2016-02-10T23:17:55Z")

</div>

Simplest thing is to impersonate them, change the setting, delete your cookies.

If you must

```plaintext
./launcher enter app
rails c
> User.find_by_username('bob').update_columns(mailing_list_mode: true)

```

---

<div class="post-metadata">

### Author: ![optimus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/optimus/32/39715_2.png) [@optimus](https://meta.discourse.org/u/optimus)
#### Post date: [February 10, 2016, 11:18pm UTC](https://meta.discourse.org/t/command-to-turn-on-mailing-list-mode-per-user/39373/3 "2016-02-10T23:18:34Z")

</div>

thanks @sam 🙂

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [February 10, 2016, 11:22pm UTC](https://meta.discourse.org/t/command-to-turn-on-mailing-list-mode-per-user/39373/4 "2016-02-10T23:22:00Z")

</div>

> [@sam](#):
>
> Simplest thing is to impersonate them, change the setting, delete your cookies.

You don’t need to “impersonate” that user…

Just go to that users preferences page and change the setting.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 10, 2016, 11:22pm UTC](https://meta.discourse.org/t/command-to-turn-on-mailing-list-mode-per-user/39373/5 "2016-02-10T23:22:48Z")

</div>

true, don’t know what I am 🚬 today.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 17, 2018, 9:10pm UTC](https://meta.discourse.org/t/command-to-turn-on-mailing-list-mode-per-user/39373/6 "2018-12-17T21:10:10Z")

</div>



---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 17, 2018, 9:17pm UTC](https://meta.discourse.org/t/command-to-turn-on-mailing-list-mode-per-user/39373/7 "2018-12-17T21:17:47Z")

</div>


