dsfsdf
This commit is contained in:
parent
1d24798cc5
commit
0989896365
1 changed files with 3 additions and 3 deletions
|
@ -13,9 +13,9 @@ site_name = environ.get("SITE_NAME").strip()
|
||||||
|
|
||||||
@app.route("/mailtest")
|
@app.route("/mailtest")
|
||||||
def mailtest():
|
def mailtest():
|
||||||
msg = Message(html="<h1>Hello<h1>",
|
msg = Message(html="<h1>Hello<h1>",
|
||||||
sender="from@example.com",
|
sender="from@example.com",
|
||||||
recipients=["to@example.com"])
|
recipients=["to@example.com"])
|
||||||
mail.send(msg)
|
mail.send(msg)
|
||||||
|
|
||||||
@app.get('/rules')
|
@app.get('/rules')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue