Private
Public Access
1
0

email from group page

This commit is contained in:
Sander Roosendaal
2019-07-31 13:17:52 +02:00
parent edc47786f2
commit bdeed4c277
8 changed files with 96 additions and 16 deletions

View File

@@ -1982,6 +1982,25 @@ def handle_sendemailnewcomment(first_name,
return 1
@app.task
def handle_sendemail_message(email,fromemail,rowername,message,teamname,managername,
debug=False,**kwargs):
fullemail = email
subject = 'New message from team ' + teamname
from_email = fromemail
d = {
'rowername':rowername,
'teamname':teamname,
'managername':managername,
'message':message,
}
res = send_template_email(from_email,[fullemail],subject,
'teammessage.html',d,**kwargs)
return 1
@app.task
def handle_sendemail_request(email, name, code, teamname, requestor, id,