revert changes
This commit is contained in:
2026-09-16 15:35:04 +00:00
parent d002c5f9da
commit 476dfee0ff
+5 -2
View File
@@ -12,9 +12,12 @@ logger = logging.getLogger(__name__)
def _build_smtp_client():
if not cfg.EMAIL_SMTP_HOST:
raise RuntimeError('EMAIL_SMTP_HOST ist nicht konfiguriert')
smtp = smtplib.SMTP(
"mail.invario-software.de",
587,
cfg.EMAIL_SMTP_HOST,
cfg.EMAIL_SMTP_PORT,
timeout=cfg.EMAIL_TIMEOUT_SECONDS,
)
smtp.ehlo()