fix(SMTP): config to disable EHLO after AUTH
This commit is contained in:
parent
1cf89c9bc9
commit
7f355b3f53
1 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,8 @@ class SMTPServer:
|
|||
frappe.msgprint(res[1], raise_exception=frappe.OutgoingEmailError)
|
||||
|
||||
# Re-issue EHLO after AUTH to refresh server capabilities
|
||||
_session.ehlo()
|
||||
if not frappe.conf.smtp_no_ehlo_after_auth:
|
||||
_session.ehlo()
|
||||
|
||||
self._session = _session
|
||||
self._enqueue_connection_closure()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue