mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-21 12:34:19 +00:00
🔧 Remove SSL from email
This commit is contained in:
parent
d0ec9fb366
commit
73dfbbc403
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def is_repo_alert_triggered(repository_id):
|
|||
|
||||
def send_notification_email(alert):
|
||||
try:
|
||||
with smtplib.SMTP_SSL(host=os.environ["SMTP_HOST"], port=587) as smtpObj:
|
||||
with smtplib.SMTP(host=os.environ["SMTP_HOST"], port=587) as smtpObj:
|
||||
smtpObj.ehlo()
|
||||
smtpObj.starttls()
|
||||
smtpObj.ehlo()
|
||||
|
|
Loading…
Reference in a new issue