Versions in this module Expand all Collapse all v1 v1.0.0 Jun 27, 2021 Changes in this version + func ParseDate(s string) time.Time + type Address interface + Email func() string + Name func() string + String func() string + func ParseAddress(bs []byte) (Address, error) + type Attachment struct + Data []byte + Filename string + type GroupAddr struct + func (ga GroupAddr) Email() string + func (ga GroupAddr) Name() string + func (ga GroupAddr) String() string + type Header struct + Key string + Value string + type HeaderInfo struct + Bcc []Address + Cc []Address + Comments []string + ContentType string + Date time.Time + From []Address + FullHeaders []Header + Id string + InReply []string + Keywords []string + MessageId string + OptHeaders []Header + References []string + ReplyTo []Address + Sender Address + Subject string + To []Address + type MailboxAddr struct + func (ma MailboxAddr) Email() string + func (ma MailboxAddr) Name() string + func (ma MailboxAddr) String() string + type Message struct + Attachments []Attachment + Body []byte + Html string + Parts []Part + Text string + func Parse(s []byte) (m Message, e error) + func Process(r RawMessage) (m Message, e error) + type Part struct + Charset string + Data []byte + Headers map[string][]string + Type string + type RawHeader struct + Key []byte + Value []byte + type RawMessage struct + Body []byte + RawHeaders []RawHeader + func ParseRaw(s []byte) (m RawMessage, e error)