changes to the email processing
This commit is contained in:
@@ -676,9 +676,7 @@ def send_accreditation_email(
|
|||||||
|
|
||||||
# 5. E-Mail versenden & temporäre Dateien aufräumen
|
# 5. E-Mail versenden & temporäre Dateien aufräumen
|
||||||
try:
|
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 = send(recipient, subject, text_body=text_note, html_body=html_note, attachments=attachments)
|
|
||||||
success = True # Placeholder für deinen Send-Befehl
|
|
||||||
return success
|
return success
|
||||||
finally:
|
finally:
|
||||||
if os.path.exists(contract_pdf_path):
|
if os.path.exists(contract_pdf_path):
|
||||||
|
|||||||
Reference in New Issue
Block a user