from flask import Flask
from flask_mail import Mail, Message

app = Flask(__name__)


app.config['MAIL_SERVER']= 'smtp.gmail.com'
#app.config['MAIL_USERNAME'] = 'devesapark@yahoo.com'
#app.config['MAIL_PASSWORD'] = 'xUp7bax8knAVwi'
app.config['MAIL_USERNAME'] = 'devesaparkpadel@gmail.com'
app.config['MAIL_PASSWORD'] = 'xUp7bax8knAVwi'
app.config['MAIL_USE_TLS'] = False # si se pone a True, hay que descomentar la línea siguiente
#app.config['MAIL_PORT'] = 587
app.config['MAIL_USE_SSL'] = True  # si se pone a True, hay que descomentar la línea siguiente
app.config['MAIL_PORT'] = 465

mail = Mail(app)


