Illustrate how to set the default mail sender name.
parent
7db7da5b0e
commit
10c8befb71
|
@ -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
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in New Issue