master
Aevann1 2021-10-03 21:53:42 +02:00
parent 4b7e44cbf7
commit 41b64a1918
1 changed files with 3 additions and 3 deletions

View File

@ -13,9 +13,9 @@ site_name = environ.get("SITE_NAME").strip()
@app.route("/mailtest")
def mailtest():
msg = Message(html="<h1>Hello<h1>",
sender="from@example.com",
recipients=["to@example.com"])
msg = Message(html="<h1>Hello<h1>",
sender="from@example.com",
recipients=["to@example.com"])
mail.send(msg)
@app.get('/rules')