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

Store generated mail as file #18

Closed wneessen closed 2 years ago

wneessen commented 2 years ago

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

I found this issue https://github.com/go-gomail/gomail/issues/171 and thought it might be nice addition to the library being able to store generated mails as files. Since we already have Msg.WriteTo it should be fairly simple to realize.

I'll have to check the EML specifications if there is any file sepecific formating needed, though.

Describe alternatives you've considered

No response

Additional context

No response