elastalert: Not connecting to office 365 SMTP server
When trying to use email alerting over SMTP with TLS it gives the following error
ERROR:root:Error while running alert email: Error connecting to SMTP host: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)
Settings:
smtp_host: "smtp.office365.com"
smtp_port: 587
smtp_ssl: true
smtp_auth_file: /home/auser/elastalert/rules/smtp_auth.txt
alert:
- email
email:
- "security@anemail.com"
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 40 (22 by maintainers)
Yes exactly and now it works šš»
Yah Iām looking into it