With email tasks you have the primary email body followed by alternate formats specified by the author via the content type / MIME. That usually is a HTML email followed by an alternate plain text version seemingly. How to do that in Go? It doesn’t seem to be like multipart files associated with http uploads responses.
Is your question about generating MIME emails, or rather about parsing them?
The mime package from the stdlib claims to implement only parts of MIME, but a search on GitHub returns a couple projects, such as MailYak or go-mime-message - are these perhaps what you are looking for?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.