Skip to content

Add HTML body alternative to send_mail#1354

Merged
lovasoa merged 3 commits into
mainfrom
rich-email-body
Jul 25, 2026
Merged

Add HTML body alternative to send_mail#1354
lovasoa merged 3 commits into
mainfrom
rich-email-body

Conversation

@lovasoa

@lovasoa lovasoa commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

The optional body_html field sends a multipart/alternative
message alongside the plain-text body, which remains required.

fixes #1353

lovasoa added 3 commits July 24, 2026 23:51
The optional `body_html` field sends a multipart/alternative
message alongside the plain-text `body`, which remains required.
Renders Markdown to HTML and sends as multipart/alternative
with raw Markdown as the plain-text body. When body_md is
provided, body becomes optional. body_md cannot be combined
with body_html.
@lovasoa
lovasoa marked this pull request as ready for review July 24, 2026 22:34
@sqlpage sqlpage deleted a comment from chatgpt-codex-connector Bot Jul 24, 2026
@lovasoa

lovasoa commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator Author

@olivierauverlot does that sound like what you meant ?

@olivierauverlot

Copy link
Copy Markdown
Contributor

It’s really cool. It’s perfect for my use case :)

@olivierauverlot

Copy link
Copy Markdown
Contributor

I tested sending HTML emails and it works perfectly.

@lovasoa
lovasoa merged commit 0e9673a into main Jul 25, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

emails containing HTML

2 participants