mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
[email digest] [sender] sender should be the automail id specified in Email Settings
This commit is contained in:
@@ -94,8 +94,7 @@ class DocType(DocListController):
|
|||||||
msg_for_this_receipient = self.get_msg_html(self.get_user_specific_content(user_id) + \
|
msg_for_this_receipient = self.get_msg_html(self.get_user_specific_content(user_id) + \
|
||||||
common_msg)
|
common_msg)
|
||||||
from webnotes.utils.email_lib import sendmail
|
from webnotes.utils.email_lib import sendmail
|
||||||
sendmail(recipients=user_id, subject=(self.doc.frequency + " Digest"),
|
sendmail(recipients=user_id, subject="[ERPNext] " + (self.doc.frequency + " Digest"),
|
||||||
sender="ERPNext Notifications <notifications+email_digest@erpnext.com>",
|
|
||||||
msg=msg_for_this_receipient)
|
msg=msg_for_this_receipient)
|
||||||
|
|
||||||
def get_digest_msg(self):
|
def get_digest_msg(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user