Versions in this module Expand all Collapse all v1 v1.0.0 Sep 27, 2026 Changes in this version + type Attachment struct + ContentInfo ContentInfo + Data []byte + func (a Attachment) Decode() ([]byte, error) + type Content struct + ContentInfo ContentInfo + Data []byte + func (c Content) Decode() ([]byte, error) + type ContentDisposition struct + Parameters map[string]string + Type string + type ContentInfo struct + Description string + Disposition ContentDisposition + ID string + TransferEncoding string + Type ContentType + type ContentType struct + Parameters map[string]string + Subtype string + Type string + type Header struct + Bcc string + BccList []*mail.Address + Cc string + CcList []*mail.Address + ContentInfo ContentInfo + Date string + Elements map[string]string + From string + FromList []*mail.Address + IsMime bool + Subject string + Time time.Time + To string + ToList []*mail.Address + func ParseHeader(buffer []byte) (Header, error) + type Mail struct + Attachments map[string]Attachment + Contents map[string]Content + Header Header + func Parse(buffer []byte) (Mail, error)