go-gomail / gomail

The best way to send emails in Go.
MIT License
4.4k stars 581 forks source link

Convenience method to attach directly from memory #159

Closed arieroos closed 9 months ago

arieroos commented 3 years ago

Many times when I want to attach a file, the data to be attached is already in memory. It would be nice to have a convenience method to elegantly do that

Example Use case: A CSV that was generated from query results

ad-zsolt-imre commented 9 months ago

I'd need this so much too.

arieroos commented 9 months ago

@ad-zsolt-imre and @Ivanezko it seems this fork of the project has come to a complete stand-still. You are welcome to check out https://github.com/go-mail/mail and see if the maintainers over there added this feature or not. I don't have the time to do that myself right now.

I will close this PR now, cause it's not going anywhere.