Good day. I was using flask_mail some months ago and it was working perfectly. But I tested it yesterday and it shows the following error: "STARTTLS extension not supported by server.")
smtplib.SMTPNotSupportedError: STARTTLS extension not supported by server.
I am defining the data likethis:
app.config['MAIL_SERVER'] = 'smtp.gmail.com'
app.config['MAIL_PORT'] = 465
app.config['MAIL_USE_TLS'] = True
app.config['MAIL_USE_SSL'] = True
Can you help me please?
[edited by admin: code formatting]