Illustrate how to set the default mail sender name.

pull/6/head
Dave Page 2017-11-28 09:29:31 +00:00
parent 7db7da5b0e
commit 10c8befb71
1 changed files with 4 additions and 0 deletions

View File

@ -270,6 +270,10 @@ MAIL_USERNAME = ''
MAIL_PASSWORD = ''
MAIL_DEBUG = False
# Flask-Security overrides Flask-Mail's MAIL_DEFAULT_SENDER setting, so
# that should be set as such:
SECURITY_EMAIL_SENDER = 'no-reply@localhost'
##########################################################################
# Mail content settings
##########################################################################