diff --git a/frappe/email/smtp.py b/frappe/email/smtp.py index aa025465e5..2fb9534f61 100644 --- a/frappe/email/smtp.py +++ b/frappe/email/smtp.py @@ -244,7 +244,7 @@ class SMTPServer: except _socket.error as e: # Invalid mail server -- due to refusing connection - frappe.msgprint(_('Invalid Outgoing Mail Server or Port')) + frappe.msgprint(_('Invalid Outgoing Mail Server or Port
{}').format(frappe.get_traceback())) traceback = sys.exc_info()[2] raise_(frappe.ValidationError, e, traceback)