changes to the email processing

This commit is contained in:
2026-08-27 23:44:35 +02:00
parent 27da6e63fe
commit 427f426ac9
+1 -3
View File
@@ -676,9 +676,7 @@ def send_accreditation_email(
# 5. E-Mail versenden & temporäre Dateien aufräumen
try:
# ACHTUNG: Die Methode `send` muss in deinem Code importiert/definiert sein.
# success = send(recipient, subject, text_body=text_note, html_body=html_note, attachments=attachments)
success = True # Placeholder für deinen Send-Befehl
success = send(recipient, subject, text_body=text_note, html_body=html_note, attachments=attachments)
return success
finally:
if os.path.exists(contract_pdf_path):