# One of my users just group messaged 100 other user with a spam offer

**URL:** <https://meta.discourse.org/t/one-of-my-users-just-group-messaged-100-other-user-with-a-spam-offer/65612>\
**Category:** Support\
**Created:** [2017年七月4日 22:19 UTC](https://meta.discourse.org/t/one-of-my-users-just-group-messaged-100-other-user-with-a-spam-offer/65612 "2017-07-04T22:19:49Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2017年七月6日 06:00 UTC](https://meta.discourse.org/t/one-of-my-users-just-group-messaged-100-other-user-with-a-spam-offer/65612/8 "2017-07-06T06:00:32Z")

</div>

> [@codinghorror](#):
>
> If we are missing a limit setting here we need one.

Okay, I just created a PR to add new setting `max_allowed_message_recipients` with default value of `30`. Some highlights:

- A (non-staff) user can send a message to maximum 30 recipients by default.
- If user adds a group as message recipient and if that group has more than 30 members, then this setting will come into action and an error will be generated.
- This setting will _not_ come into action if a message was sent to a group [via email](https://meta.discourse.org/t/configuring-reply-via-email-e-mail/42026).

[https://github.com/discourse/discourse/pull/4956](https://github.com/discourse/discourse/pull/4956)

---

_[View the full topic](https://meta.discourse.org/t/one-of-my-users-just-group-messaged-100-other-user-with-a-spam-offer/65612)._
