Add the auto-reply feature in the admin panel

This commit is contained in:
Pierre Jaury
2016-03-20 11:00:01 +01:00
parent e1c34c5984
commit b07158c256
6 changed files with 38 additions and 9 deletions

View File

@@ -42,6 +42,12 @@ class UserForwardForm(Form):
submit = fields.SubmitField('Update')
class UserReplyForm(Form):
reply_subject = fields.StringField('Reply subject')
reply_body = fields.StringField('Reply body', widget=widgets.TextArea())
submit = fields.SubmitField('Update')
class AliasCreateForm(Form):
localpart = fields.StringField('Alias', [validators.DataRequired()])
destination = fields.StringField('Destination', widget=widgets.TextArea())