[31e88f42] Keine neuen Commits in dieser Session.
Keine neuen Commits in dieser Session.
This commit is contained in:
@@ -310,9 +310,12 @@ def process_lead(request_id, company, opener, receiver, name):
|
||||
except:
|
||||
sig = ""
|
||||
|
||||
# Format the opener text into proper HTML paragraphs
|
||||
opener_html = "".join([f"<p>{line}</p>" for line in opener.split('\n') if line.strip()])
|
||||
|
||||
email_body = f"""
|
||||
<p>Hallo {name},</p>
|
||||
{opener}
|
||||
{opener_html}
|
||||
<p>Ich freue mich auf den Austausch und schlage Ihnen hierfür konkrete Termine vor:</p>
|
||||
<ul>
|
||||
{booking_html}
|
||||
|
||||
Reference in New Issue
Block a user