Closed rngallen closed 1 year ago
This package does not support attachments from io.Readers. You either need to store the file temporarily on disk and attach it or use a package like github.com/wneessen/go-mail which has support for io.Reader (assuming that pdf offers a io.Reader access).
I used the same approach but i forgot to close the issue
How can I attach pdf which are not from disk?