Versions in this module Expand all Collapse all v0 v0.1.0 Nov 21, 2021 Changes in this version + type Discrete struct + func NewDiscrete(ct string, param ...string) *Discrete + func (d *Discrete) Content(c []byte) + func (d *Discrete) Encoding(e Encoding) + func (d *Discrete) Header() *Header + func (d *Discrete) Write(w io.Writer) error + type Encoding int + const Base64 + const QuotedPrintable + const SevenBit + type Header struct + func NewHeader() *Header + func (h *Header) Add(name, value string) + func (h *Header) Write(w io.Writer) error + type Message struct + func NewMessage(part Part) *Message + type Multipart struct + func NewMultipart(ct string) *Multipart + func (mp *Multipart) AddPart(p Part) + func (mp *Multipart) Header() *Header + func (mp *Multipart) NewDiscrete(ct string, param ...string) *Discrete + func (mp *Multipart) NewMultipart(ct string) *Multipart + func (mp *Multipart) Write(w io.Writer) error + type Part interface + Header func() *Header + Write func(io.Writer) error