https://prefect.io logo
Title
d

Darren

08/17/2022, 3:08 PM
I am having problems with the https://prefecthq.github.io/prefect-email/ when trying to use office 365 as my provider. It is giving me
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:997)
my credentials look like this
email_server_credentials = EmailServerCredentials(
username="demo@company.com", password="mypasswordhere", smtp_server="smtp.office365.com", smtp_type="STARTTLS", smtp_port=587 )
👀 1
This is on prefect 2
b

Bianca Hoch

08/17/2022, 8:00 PM
Hi Darren, this is a bit out of the box but maybe this stack overflow post helps? https://stackoverflow.com/questions/57715289/how-to-fix-ssl-sslerror-ssl-wrong-version-number-wrong-version-number-ssl
If not, please open an issue on the prefect-email repo 😄
d

Darren

08/18/2022, 12:53 PM
I agree this is a bit out of the box. Thank you for your suggestions, I'll look into this and if unable to figure it out I will open a issue on their GitHub repo.