Open liuende501 opened 2 years ago
This is not a requirement of this application, it is your email server that is enforcing this and not letting you put any user in the From field of the email.
I tried two type of Email that are very popular in China, QQ and 126, all throw exception. Maybe the email server in China all have this restrict.
Thank you for your reply!
FLASKY_MAIL_SENDER
isFlasky Admin <flasky@example.com>
in project. If i use my email address, then throw a exception likea simple advice, set FLASKY_MAIL_SENDER like
FLASKY_MAIL_SENDER = os.environ.get('FLASKY_MAIL_SENDER', 'Flasky Admin flasky@example.com')