Private
Public Access
1
0

fixing messaging

This commit is contained in:
Sander Roosendaal
2020-06-08 17:44:00 +02:00
parent 3720af9ff6
commit d037ae2354
3 changed files with 9 additions and 3 deletions

View File

@@ -2336,14 +2336,16 @@ def handle_sendemailnewcomment(first_name,
@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)
res = send_template_email('Rowsandall <info@rowsandall.com>',
fullemail,subject,
template,d,cc=[fromemail],**kwargs)
@app.task
def handle_sendemail_message(email,fromemail,rowername,message,teamname,managername,