enmime is a MIME encoding and decoding library for Go, focused on generating and parsing MIME encoded emails. It is being developed in tandem with the Inbucket email service.
enmime includes a fluent interface builder for generating MIME encoded messages, see the wiki for example Builder Usage.
API documentation and examples can be found here: http://godoc.org/github.com/jhillyerd/enmime
Part readers: Part.Read()
and Part.Utf8Reader
have been removed. Please use
Part.Content
instead.
A brief guide to migrating from the old 2016 go.enmime
API is available here:
https://github.com/jhillyerd/enmime/wiki/Enmime-Migration-Guide
enmime is beta quality: it works but has not been tested with a wide variety of source data. It's possible the API will evolve slightly before an official release.
Please see CONTRIBUTING.md if you'd like to contribute code to the project.
enmime is written in Google Go.
enmime is open source software released under the MIT License. The latest version can be found at https://github.com/jhillyerd/enmime