mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
18 lines
541 B
Markdown
18 lines
541 B
Markdown
# Configuring notifications
|
|
|
|
## Configuring whether notifications will send to authors of blogs if comments are spam
|
|
|
|
Default behaviour using the `silverstripe/comment-notifications` module is to send notifications of comments to
|
|
authors regardless of whether they are spam or not.
|
|
|
|
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:
|
|
|
|
```
|
|
SilverStripe\Blog\Model\BlogPostNotifications:
|
|
notification_on_spam: false
|
|
```
|
|
|