github wneessen/go-mail v0.3.1
v0.3.1: Access to message attachments

latest releases: v0.7.2, v0.7.1, v0.7.0...
3 years ago

This release introduces a couple of new methods on the Msg, which will help the Msg.Middleware to deal with Msg attachments.

To get the Msg attachments, we can now use the Msg.GetAttachments() methods to get the list of currently assigned attachments to the Msg.

To set the Msg attachments, we can now use the Msg.SetAttachments() methods to set a list of *File as Msg attachments.

What's Changed

Full Changelog: v0.3.0...v0.3.1

Don't miss a new go-mail release

NewReleases is sending notifications on new releases.