From ab7b862a4958b5172e419358addc2881d5d74e1f Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Fri, 6 Jul 2018 18:10:53 +0530 Subject: [PATCH] safe encode is not required --- frappe/email/smtp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/email/smtp.py b/frappe/email/smtp.py index 3350106036..693001b520 100644 --- a/frappe/email/smtp.py +++ b/frappe/email/smtp.py @@ -171,7 +171,7 @@ class SMTPServer: if self.email_account: self.server = self.email_account.smtp_server self.login = getattr(self.email_account, "login_id", None) or self.email_account.email_id - self.password = frappe.safe_encode(self.email_account.password) + self.password = self.email_account.password self.port = self.email_account.smtp_port self.use_tls = self.email_account.use_tls self.sender = self.email_account.email_id