Send email on failure (Office 365)

17 views
Skip to first unread message

Petar Totikj

unread,
Jul 4, 2022, 8:12:58 AM7/4/22
to Luigi
Hi,

i am trying to send email on failure with the following configuration:

[smtp]
host = smtp.office365.com
port = 587
username = **Office 365 email***
password = **Password**
ssl = True

[email]
receiver=**Office 365 email***

I am getting the following error:
  • ERROR: Not able to connect to smtp server: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)
As far as I saw, the Microsoft SMTP server uses STARTTLS protocol on port 587.

Am i missing something?

Best,
Petar
Reply all
Reply to author
Forward
0 new messages