Closed jason-jackson closed 1 year ago
I'm completely fine with exposing it as a writer instead of []byte, just would be nice to have available without having to copy/paste from smtp. Had []byte as working with ses, which takes in a byte slice.
I did not take a look into your issue in detail, but just want to tell you the following things around the package:
mail/internal/mail
or part of them will not pop out from the internal
with this context, I can tell we will not expose anything from the internal mail package but we may be able to expand Buffalo's mail
package. If your issue is about extending Buffalo's mail
, please explain more about the purpose, use case, direction, or anything you think. However, if your issue is something directly related to the internal mail
package, I think checking the modules above or the other modules for MIME support could be better.
I am closing it for now, but please feel free to reopen it if you think my answer does not help you and we need more discussion on this topic.
Description
Currently MIME support is through
mail/internal/mail/message.go
, an internal package. So if I wanted to create my own Sender/BatchSender implementation with MIME support, I would need to duplicate code. Options I see:Thanks!
Additional Information
No response