-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with smtp when running rcb alert #11
Comments
Thanks for reporting the issue. I actually haven't tested the SMTP functionality since taking over the repo, so this is probably something else that has broken over time that I missed in the initial release. I should have some time tonight or tomorrow to investigate. |
Hi @beastarman74, I was able to reproduce this issue. It seems to just be a problem with port 587 (STARTTLS). For now, you can specify port 465 (implicit TLS), which is working fine for me. I'll look into why port 587 isn't working in the mean time. |
Aha, it looks like the original code was using
According to the smtplib documentation:
So we'll need to add some code to check which SMTP port is configured and use the appropriate smtplib server class for each one. |
It's getting late here for me. This should be a quick fix tomorrow. |
This issue has been resolved by #13. Thanks for reporting! 465 SMTPS
587 SMTP STARTTLS
25 SMTP
|
I am getting an error when attempting to test the smtp alert.
I have tried a simple unauthenticated smtp server that doesn't need a username and password.
Plus an smtp relay service that uses authentication and port 587, STARTSSL.
I receive an error stating:
ERROR: [SSL: WRONG_VERSION_NUMBER]
Unauthenticated smtp server.
Note: I had to add dummy username and password to the entry as without them it detected as not configured.
rcb alert command output:
Please let me know if you need any more information.
The text was updated successfully, but these errors were encountered: