diff --git a/frappe/email/smtp.py b/frappe/email/smtp.py index 0821a157a0..fdb49ab86b 100644 --- a/frappe/email/smtp.py +++ b/frappe/email/smtp.py @@ -58,6 +58,7 @@ def get_outgoing_email_account(raise_exception_not_set=True, append_to=None): frappe.OutgoingEmailError) if email_account: + email_account.password = email_account.get_password() email_account.default_sender = email.utils.formataddr((email_account.name, email_account.get("email_id"))) frappe.local.outgoing_email_account[append_to or "default"] = email_account