diff --git a/notify_owners.py b/notify_owners.py index 84ed2a8..4800fc9 100755 --- a/notify_owners.py +++ b/notify_owners.py @@ -199,7 +199,7 @@ def main(): # login = input("type your smtp login: ") # password = getpass.getpass(prompt="type your password and press enter:") # context = ssl.create_default_context(cafile="/usr/local/share/ca-certificates/own.crt") - # with smtplib.smtp_ssl(server, 465, context=context) as smtp: + # with smtplib.SMTP_SSL(server, 465, context=context) as smtp: # smtp.login(login, password) agir_key = getpass.getpass(prompt=f"Type {AGIR_URL} API key:")