This commit is contained in:
Aevann1 2021-10-03 21:53:42 +02:00
parent 1d24798cc5
commit 0989896365

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')