This is a fork of github.com/emersion/go-message
with some changes to handle some problems seen in real world email.
A Go library for the Internet Message Format. It implements:
- RFC 5322: Internet Message Format
- RFC 2045, RFC 2046 and RFC 2047: Multipurpose Internet Mail Extensions
- RFC 2183: Content-Disposition Header Field
- Streaming API
- Automatic encoding and charset handling (to decode all charsets, add
import _ "github.com/emersion/go-message/charset"
to your application) - A
mail
subpackage to read and write mail messages - DKIM-friendly
- A
textproto
subpackage that just implements the wire format
MIT