Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WithBoundary/SetBoundary messes up multipart-rendering #414

Closed
wneessen opened this issue Jan 12, 2025 · 0 comments · Fixed by #416
Closed

WithBoundary/SetBoundary messes up multipart-rendering #414

wneessen opened this issue Jan 12, 2025 · 0 comments · Fixed by #416
Assignees
Labels
bug Something isn't working

Comments

@wneessen
Copy link
Owner

Description

While working on the fix for #412, I noticed a false behaviour when working with WithBoundary/SetBoundary. When a fixed boundary is set using one of those options, the boundary for each multipart will be the same. This messes up the mail rendering for multipart mails (i. e. body, alternative part and embed).

While this is not related to the v0.6.0 release (this has been an issue since the boundary-options have been introduced) it gets more of an issue with S/MIME signing, since that code makes use of fixed boundaries.

To Reproduce

Create a multi-prt message with fixed boundary.

Expected behaviour

Each multi-part needs a non-unique boundary.

Screenshots

No response

Attempted Fixes

No response

Additional context

No response

@wneessen wneessen added the bug Something isn't working label Jan 12, 2025
@wneessen wneessen self-assigned this Jan 12, 2025
@wneessen wneessen linked a pull request Jan 12, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant