Replies: 1 comment
-
Given that no one else has run into this problem it appears to be a misconfiguration of your mail server. What SMTP server are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I encountered the following error when sending an alert to our email server:
After checking the code, I found that the error originates from this line:
elastalert2/elastalert/alerters/email.py
Line 113 in e3a87a4
It attempts to use starttls() when the email server responds with "STARTTLS".
However, I tested connecting to the email server directly without starttls(), and it worked fine.
Would it be possible to modify the code to use a different condition or at least attempt a connection without STARTTLS when set one field in configuration file to False, even if the server includes "STARTTLS" in its response?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions