Answer the question
In order to leave comments, you need to log in
How to use different mail senders from the same mail domain?
from flask_mail import Mail
...
# email server
MAIL_SERVER = 'your.mailserver.com'
MAIL_PORT = 25
MAIL_USE_TLS = False
MAIL_USE_SSL = False
MAIL_USERNAME = 'sender1.mailserver.com'
MAIL_PASSWORD = 'sender1-password'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question