Feature: Marking "Read" spam mails

This commit is contained in:
İbrahim Akyel
2022-03-11 16:58:50 +03:00
parent 43598119b8
commit f65e2fc469
7 changed files with 29 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ class UserSignupFormCaptcha(UserSignupForm):
class UserSettingsForm(flask_wtf.FlaskForm):
displayed_name = fields.StringField(_('Displayed name'))
spam_enabled = fields.BooleanField(_('Enable spam filter'))
spam_mark_as_read = fields.BooleanField(_('Enable marking spam mails as read'))
spam_threshold = fields_.IntegerSliderField(_('Spam filter tolerance'))
forward_enabled = fields.BooleanField(_('Enable forwarding'))
forward_keep = fields.BooleanField(_('Keep a copy of the emails'))