Fix: Brevo Open-Tracking für transaktionale Mails deaktivieren
This commit is contained in:
parent
8611e826fb
commit
e8b0ec7efb
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ async def _send_brevo(to: str, subject: str, html: str, plain: str):
|
||||||
"subject": subject,
|
"subject": subject,
|
||||||
"htmlContent": html,
|
"htmlContent": html,
|
||||||
"textContent": plain,
|
"textContent": plain,
|
||||||
|
"headers": {"X-Mailin-Track-Click": "0", "X-Mailin-Track-Opens": "0"},
|
||||||
}
|
}
|
||||||
async with httpx.AsyncClient(timeout=15) as client:
|
async with httpx.AsyncClient(timeout=15) as client:
|
||||||
resp = await client.post(
|
resp = await client.post(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue