Versions in this module Expand all Collapse all v0 v0.1.0 Jul 23, 2020 Changes in this version + const MaxMsgSize + func EncodeChunks(header Header, msg string, size uint64) (chunks []string, err error) + func New(w io.Writer, header Header, msg string, attachments []*Attachment) error + func Parse(r io.Reader) (header *Header, subject string, message string, attachments []*Attachment, ...) + func SplitMessage(msg string) (subject, message string) + type Attachment struct + ContentType string + Filename string + Inline bool + Reader io.Reader + type Header struct + Cc []string + From string + InReplyTo string + MessageID string + To string + func DecodeChunk(chunk string) (header *Header, part string, piece, count uint64, err error)