Frappe Framework: v15.44.1
ERPNext: v15.38.1
Error when trying to send emails.
Outgoing emails working fine before update (TLS on port 587).
Any idea? Already attempted SSL with port 465, and no security with por 25. None works:
Traceback (most recent call last):
File “apps/frappe/frappe/email/smtp.py”, line 81, in session
self.secure_session(_session)
File “apps/frappe/frappe/email/smtp.py”, line 60, in secure_session
conn.starttls()
File “/usr/lib/python3.10/smtplib.py”, line 771, in starttls
raise SMTPNotSupportedError(
smtplib.SMTPNotSupportedError: STARTTLS extension not supported by server.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “apps/frappe/frappe/email/doctype/email_queue/email_queue.py”, line 172, in send
ctx.smtp_server.session.sendmail(
File “apps/frappe/frappe/email/smtp.py”, line 102, in session
frappe.throw(
File “apps/frappe/frappe/init.py”, line 652, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 617, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 568, in _raise_exception
raise exc
frappe.exceptions.ValidationError: Invalid Outgoing Mail Server or Port: STARTTLS extension not supported by server.
Please help