I am getting continuous scheduler log errors since ERPNext installed. Same error every 5 mins.
Method
frappe.email.bulk.flush
Error
Method: all, Handler: frappe.email.bulk.flush
Traceback (innermost last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/tasks.py”, line 89, in scheduler_task
frappe.get_attr(handler)()
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/bulk.py”, line 235, in flush
smtpserver = SMTPServer()
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/smtp.py”, line 117, in init
self.setup_email_account(append_to)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/smtp.py”, line 120, in setup_email_account
self.email_account = get_outgoing_email_account(raise_exception_not_set=False, append_to=append_to)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/smtp.py”, line 62, in get_outgoing_email_account
email_account.default_sender = email.utils.formataddr((email_account.name,
AttributeError: ‘NoneType’ object has no attribute ‘name’