Skip to content

Commit

Permalink
hotfix to test emailing
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-mudaraddi committed Jul 23, 2024
1 parent 7ea3370 commit bbe6dad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/email_api/emailer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time
from typing import List
from pathlib import Path
from smtplib import SMTP_SSL
from smtplib import SMTP
import logging

from email.header import Header
Expand Down Expand Up @@ -45,7 +45,7 @@ def send_emails(self, emails: List[EmailParams]):

logger.debug("connecting to SMTP server")

with SMTP_SSL(
with SMTP(
self.smtp_account.server, self.smtp_account.port, timeout=60
) as server:
server.ehlo()
Expand Down

0 comments on commit bbe6dad

Please sign in to comment.