I am having problems with the <https://prefecthq.g...
# ask-community
d
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
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
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.