Laurent Morvillier 3 years ago
commit 99b9a97542
  1. 6
      app.py

@ -10,7 +10,6 @@ app.config['MAIL_PORT'] = 587
app.config['MAIL_USERNAME'] = 'backup@pokeranalytics.net'
app.config['MAIL_PASSWORD'] = 'StaxBackup****'
app.config['MAIL_USE_TLS'] = True
# app.config['MAIL_USE_SSL'] = True
mail = Mail(app)
@ -21,6 +20,11 @@ mail = Mail(app)
# EMAIL_USE_TLS = True
# DEFAULT_FROM_EMAIL = 'Poker Analytics Backup <backup@pokeranalytics.net>'
@app.route('/')
def index():
return 'Yeah! Install looks fine!'
@app.route('/send', methods=['GET', 'POST'])
def sender():
if request.method == 'POST':

Loading…
Cancel
Save