Private
Public Access
1
0

TP fix maybe, and form to message racers

This commit is contained in:
Sander Roosendaal
2020-06-06 17:43:16 +02:00
parent 55ad7ce2d9
commit 5aa6d89891
10 changed files with 174 additions and 4 deletions

View File

@@ -2333,6 +2333,18 @@ def handle_sendemailnewcomment(first_name,
return 1
@app.task
def handle_send_template_email(template,email,fromemail,rowername,
subject,message,debug=False,**kwargs):
fullemail = [email]
d = {
'message':message,
'rowername':rowername,
}
res = send_template_email(fromemail,fullemail,subject,
template,d,**kwargs)
@app.task
def handle_sendemail_message(email,fromemail,rowername,message,teamname,managername,
debug=False,**kwargs):