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