Skip to content

Commit

Permalink
Debug serval app
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Oct 30, 2023
1 parent 66f1ce9 commit 4215b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/ServalApp/serval_email_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def password(self):
return len(self.__password) * "*"

def __enter__(self):
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
context = ssl.create_default_context() # ssl.SSLContext(ssl.PROTOCOL_SSLv23)
self.server = smtplib.SMTP_SSL(host=self.host, port=self.port, context=context)
self.server.login(self.sender_address, self.__password)
return self
Expand Down

0 comments on commit 4215b56

Please sign in to comment.