diff --git a/frappe/email/smtp.py b/frappe/email/smtp.py index 3de1830b69..8daedc567c 100644 --- a/frappe/email/smtp.py +++ b/frappe/email/smtp.py @@ -81,7 +81,7 @@ def get_default_outgoing_email_account(raise_exception_not_set=True): ''' email_account = _get_email_account({"enable_outgoing": 1, "default_outgoing": 1}) if email_account: - email_account.password = email_account.get_password() + email_account.password = email_account.get_password(raise_exception=False) if not email_account and frappe.conf.get("mail_server"): # from site_config.json