silverstripe-blog/docs/en/configuring-notifications.md

18 lines
541 B
Markdown
Raw Permalink Normal View History

# Configuring notifications
## Configuring whether notifications will send to authors of blogs if comments are spam
2017-09-20 02:15:19 +02:00
Default behaviour using the `silverstripe/comment-notifications` module is to send notifications of comments to
authors regardless of whether they are spam or not.
2017-09-20 02:15:19 +02:00
In some cases you may wish to not send a notification email to an author if the comment is spam,
this is a configurable option.
Add the following into your yaml config:
```
2017-09-20 02:15:19 +02:00
SilverStripe\Blog\Model\BlogPostNotifications:
notification_on_spam: false
```