github wneessen/go-mail v0.2.5
v0.2.5: embed.FS support

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

This release adds support for embedding/attaching files directly from embed.FS. We've added two new methods:

  • Msg.EmbedFromEmbedFS() which will allow you to embed a file from a given embed.FS directly into the mail message
  • Msg.AttachFromEmbedFS() which will allow you to attach a file from a given embed.FS directly into the mail message

Noteworthy changes

  • #29 implements the embed.FS changes

Don't miss a new go-mail release

NewReleases is sending notifications on new releases.