wneessen / go-mail

📧 Easy to use, yet comprehensive library for sending mails with Go
https://go-mail.dev
MIT License
680 stars 48 forks source link

Add support for storing mail messages in files #19

Closed wneessen closed 2 years ago

wneessen commented 2 years ago

This PR adds support for storing the output of a Msg into a file. Either an automatically generated temp file using Msg.WriteToTempFile or by providing ones own file name using Msg.WriteToFile.

Closes #18