Skip to content

Add email attachment support#343

Open
treagod wants to merge 1 commit intomainfrom
email-attachment
Open

Add email attachment support#343
treagod wants to merge 1 commit intomainfrom
email-attachment

Conversation

@treagod
Copy link
Copy Markdown
Contributor

@treagod treagod commented Mar 20, 2026

This PR introduces e-mail attachment support to Marten's emailing system.

It adds a attachment struct and new attach helpers for file paths, File instances, and generic IO objects. MIME types are inferred from the filename when possible, with a fallback to application/octet-stream.

The change also makes attachments accessible to other backends and includes attachment details in the development backend output.

Closes #320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add support for email attachments

1 participant