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

Fix DKIM signing for multipart messages #45

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

wneessen
Copy link
Owner

@wneessen wneessen commented Jul 1, 2024

The DKIM middleware now generates a random boundary for mail messages. This action is necessary to prevent the body hash from being changed after the middleware has been applied. A GetBoundary() method is planned for the future to avoid overriding any set boundaries.

Fixes #43

wneessen added 2 commits July 1, 2024 12:54
The go-mail library has been updated from version v0.4.1 to v0.4.2. This change was necessary to incorporate the latest improvements and bug fixes provided by the upgraded library.
The DKIM middleware now generates a random boundary for mail messages if one isn't already set. This action is necessary to prevent the body hash from being changed after the middleware has been applied. A GetBoundary() method is planned for the future to avoid overriding any set boundaries.
@wneessen wneessen merged commit ea584fd into main Jul 1, 2024
9 checks passed
@wneessen wneessen deleted the bugfix/43_fix-DKIM-signing-with-multipart-messages branch July 1, 2024 10:56
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.

DKIM signing not working on multipart messages
1 participant