I am troubling to fix these issue, can anyone please help me to fix these issues?
I’ve have three email accounts in which one is working fine and another two are throwing these errors:
Email Server: Exchange Server 2013
Error 1:
Traceback (most recent call last):
File "/home/erpadmin/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
response = frappe.api.handle()
File "/home/erpadmin/frappe-bench/apps/frappe/frappe/api.py", line 55, in handle
return frappe.handler.handle()
File "/home/erpadmin/frappe-bench/apps/frappe/frappe/handler.py", line 22, in handle
data = execute_cmd(cmd)
File "/home/erpadmin/frappe-bench/apps/frappe/frappe/handler.py", line 61, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/erpadmin/frappe-bench/apps/frappe/frappe/__init__.py", line 1042, in call
return fn(*args, **newargs)
File "/home/erpadmin/frappe-bench/apps/frappe/frappe/email/doctype/email_queue/email_queue.py", line 45, in send_now
send_one(name, now=True)
File "/home/erpadmin/frappe-bench/apps/frappe/frappe/email/queue.py", line 478, in send_one
raise e
File "/home/erpadmin/frappe-bench/apps/frappe/frappe/email/queue.py", line 417, in send_one
smtpserver.sess.sendmail(email.sender, recipient.recipient, message)
File "/usr/lib/python3.7/smtplib.py", line 867, in sendmail
raise SMTPSenderRefused(code, resp, from_addr)
smtplib.SMTPSenderRefused: (421, b'4.4.2 Message submission rate for this client has exceeded the configured limit', 'Email Account Name <email-address>')
Error 2:
smtplib.SMTPDataError: (550, b'5.7.60 SMTP; Client does not have permissions to send as this sender')