Sorted usage of TLS on SMTP (#613)

Added a line for the `email_results` function to take into account the smtp_ssl setting.
This commit is contained in:
jandr
2025-08-25 19:51:10 +02:00
committed by GitHub
parent 865c249437
commit b4c2b21547

View File

@@ -1586,6 +1586,7 @@ def _main():
username=opts.smtp_user,
password=opts.smtp_password,
subject=opts.smtp_subject,
require_encryption=opts.smtp_ssl,
)
except Exception:
logger.exception("Failed to email results")