Use mail sender as username
This commit is contained in:
parent
408fe5dc54
commit
79c3394e2c
@ -180,6 +180,7 @@ def make_mailer(app):
|
|||||||
mailer_connection = mailer.SMTPConnection(
|
mailer_connection = mailer.SMTPConnection(
|
||||||
server=app.config.get("MAIL_SERVER"),
|
server=app.config.get("MAIL_SERVER"),
|
||||||
port=app.config.get("MAIL_PORT"),
|
port=app.config.get("MAIL_PORT"),
|
||||||
|
username=app.config.get("MAIL_SENDER"),
|
||||||
password=app.config.get("MAIL_PASSWORD"),
|
password=app.config.get("MAIL_PASSWORD"),
|
||||||
use_tls=app.config.get("MAIL_TLS")
|
use_tls=app.config.get("MAIL_TLS")
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user