emersion / go-message

✉️ A streaming Go library for the Internet Message Format and mail messages
MIT License
373 stars 108 forks source link

Adds support of multipart/related for inline attachments #181

Open BluePsyduck opened 1 month ago

BluePsyduck commented 1 month ago

This PR adds support for multipart/related to the mail package by introducing a new RelatedWriter and corresponding methods to the package. See #179 for more information about the usecases.

This PR also renames existing functions and methods to make the wording more uniform. In detail, the following renamings have been added:

The old namings are still in-place and marked as deprecated, so this PR does not introduce a BC break.