diff --git a/selling/doctype/lead/get_leads.py b/selling/doctype/lead/get_leads.py index 8c8200c09a..b0e64847bc 100644 --- a/selling/doctype/lead/get_leads.py +++ b/selling/doctype/lead/get_leads.py @@ -64,7 +64,7 @@ class SalesMailbox(POP3Mailbox): if mail.from_email == self.settings.email_id: return - add_sales_communication(mail.mail.get("subject", "[No Subject]"), mail.content, mail.form_email, + add_sales_communication(mail.mail.get("subject", "[No Subject]"), mail.content, mail.from_email, mail.from_real_name, mail=mail, date=mail.date) def get_leads():