Sending Email Error

Hello Community,

I have faced error when i was try to send sales order or quotation to customers. it shows error log,

{'retry': 0, 'log': <function log at 0x3d09e60>, 'site': u'aduser.erpnext.com', 'event': u'all', 'method_name': u'frappe.email.queue.flush', 'method': <function flush at 0x3fa6140>, 'user': u'Administrator', 'kwargs': {}, 'async': True, 'job_name': u'frappe.email.queue.flush'}** **Traceback (most recent call last):** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/utils/background_jobs.py", line 92, in execute_job** ** method(**kwargs)** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/email/queue.py", line 324, in flush** ** check_email_limit([])** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/email/queue.py", line 214, in check_email_limit** ** smtp_server = SMTPServer()** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/email/smtp.py", line 151, in __init__** ** self.setup_email_account(append_to)** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/email/smtp.py", line 154, in setup_email_account** ** self.email_account = get_outgoing_email_account(raise_exception_not_set=False, append_to=append_to, sender=sender)** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/email/smtp.py", line 77, in get_outgoing_email_account** ** email_account.password = email_account.get_password(raise_exception=raise_exception)** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/base_document.py", line 634, in get_password** ** return get_decrypted_password(self.doctype, self.name, fieldname, raise_exception=raise_exception)** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/utils/password.py", line 19, in get_decrypted_password** ** frappe.throw(_('Password not found'), frappe.AuthenticationError)** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/__init__.py", line 319, in throw** ** msgprint(msg, raise_exception=exc, title=title, indicator='red')** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/__init__.py", line 309, in msgprint** ** _raise_exception()** ** File "/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/__init__.py", line 282, in _raise_exception** ** raise raise_exception(encode(msg))** **AuthenticationError: Password not found

also it loged out me from site and show this page.

i can not able to send emails to any customer or lead.

Check your email account password.

1 Like

@Sangram

i am on the erpnext cloud service and everything works great till last 2 days. so i dont’s think so the email password is the issue behind this errors.

This is your error. Check email account details once and check. Maybe an issue with your account password.

i have checked it. No issue with this.

i have setup a site from erpnext.com and everything work fine after that. i used to send mail to customers and vendors. but suddenly it started giving error.

Then Seems like it is an issue.

@Sangram

I am receiving error log at every 5 minutes without doing anything.

so i don’t think so that is the problem in email password setup.

yes because after every 5-6 mins scheduler is running and trying to send pending emails. But as there are some issues, it is giving you an error.

Okay @Sangram