Versions in this module Expand all Collapse all v0 v0.0.1 Mar 28, 2024 Changes in this version + var ErrMIMEAlienMediatypeParameters = errors.New("MIME alien media type parameters") + var ErrMIMENotYetImplemented = errors.New("MIME not yet implemented") + var ErrMIMESemantics = errors.New("MIME semantics") + var ErrMIMEUnknownMediaType = errors.New("MIME unknown media type") + func GetUnique(header textproto.MIMEHeader, key string) string + func Highlight(mark string) string + type Atom interface + type Attachment struct + Data []byte + Header textproto.MIMEHeader + Inline bool + func (attachment Attachment) ContentType() string + func (attachment Attachment) Ext() string + type AttachmentStore struct + func NewAttachmentStore() *AttachmentStore + func (as *AttachmentStore) Get(asid AttachmentStoreID) (contenttype string, r io.Reader, ok bool) + func (as *AttachmentStore) Put(attachment Attachment) (AttachmentStoreID, error) + type AttachmentStoreID string + type DroppedAlternatives struct + MediatypeTs []string + type Quote struct + Raw string + type SignatureBlock struct + Raw string + type TQA []Atom + func Parse(header textproto.MIMEHeader, r io.Reader) (TQA, error) + func ParseRaw(rawmsgr io.Reader) ([]mailx.Field, TQA, error) + func (tqa TQA) Attachments() (attachments []Attachment) + func (tqa TQA) Format() string + func (tqa TQA) Normalised() TQA + type Text struct + Raw string