Versions in this module Expand all Collapse all v0 v0.0.2 Sep 9, 2022 v0.0.1 Sep 9, 2022 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 DecodedAddress struct + func CreateDecodedAddress(addr Address) DecodedAddress + func (da DecodedAddress) Email() string + func (da DecodedAddress) Name() string + func (da DecodedAddress) String() 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 + FullHeaders HeaderList + type HeaderList map[string][]string + func (h HeaderList) Add(key, value string) + func (h HeaderList) Bcc() []Address + func (h HeaderList) Cc() []Address + func (h HeaderList) Comments() []string + func (h HeaderList) ContentType() string + func (h HeaderList) Date() time.Time + func (h HeaderList) FirstByKey(key string) (string, bool) + func (h HeaderList) From() []Address + func (h HeaderList) InReply() []string + func (h HeaderList) Keywords() []string + func (h HeaderList) MediaType() MediaType + func (h HeaderList) MessageId() string + func (h HeaderList) References() []string + func (h HeaderList) ReplyTo() []Address + func (h HeaderList) Sender() Address + func (h HeaderList) Set(key string, value []string) + func (h HeaderList) Subject() string + func (h HeaderList) To() []Address + type MailboxAddr struct + func (ma MailboxAddr) Email() string + func (ma MailboxAddr) Name() string + func (ma MailboxAddr) String() string + type MediaType struct + Params map[string]string + Type 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)