[fix] [minor] send email to cc fixed
This commit is contained in:
parent
325def77df
commit
2d56157991
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ def send_comm_email(d, name, sent_via=None, print_html=None, attachments='[]', s
|
|||
msg=d.content, footer=footer)
|
||||
|
||||
if send_me_a_copy:
|
||||
mail.cc.append(d.sender)
|
||||
mail.cc.append(webnotes.conn.get_value("Profile", webnotes.session.user, "email"))
|
||||
|
||||
if print_html:
|
||||
mail.add_attachment(name.replace(' ','').replace('/','-') + '.html', print_html)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue