From 2d56157991dcf6d2ce4e58d5b5c1205e6d5599fc Mon Sep 17 00:00:00 2001 From: Akhilesh Darjee Date: Wed, 20 Nov 2013 16:37:19 +0530 Subject: [PATCH] [fix] [minor] send email to cc fixed --- core/doctype/communication/communication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/doctype/communication/communication.py b/core/doctype/communication/communication.py index 12e68358bd..1544f28c8a 100644 --- a/core/doctype/communication/communication.py +++ b/core/doctype/communication/communication.py @@ -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)