mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 04:54:18 +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):
|
def send_notification_email(alert):
|
||||||
try:
|
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.ehlo()
|
||||||
smtpObj.starttls()
|
smtpObj.starttls()
|
||||||
smtpObj.ehlo()
|
smtpObj.ehlo()
|
||||||
|
|
Loading…
Reference in a new issue