Skip to content

Commit

Permalink
try ssl tls 1_2
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-mudaraddi committed Jul 11, 2024
1 parent 8832799 commit 1ae6b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/email_api/emailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def send_emails(self, emails: List[EmailParams]):
"""

logger.debug("connecting to SMTP server")
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_1)
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
with SMTP_SSL(
self.smtp_account.server,
self.smtp_account.port,
Expand Down

0 comments on commit 1ae6b4d

Please sign in to comment.