Versions in this module Expand all Collapse all v2 v2.0.1 Oct 4, 2025 Changes in this version + type Address struct + Mail string + Name string + func MustAddr(s string) Address + func ParseAddress(s string) (Address, error) + func ParseAddressList(list []string) ([]Address, error) + func (a Address) String() string + type Attachment struct + ContentID string + ContentType string + Filename string + Reader io.Reader + type DKIMConfig struct + Domain string + Headers []string + KeyPEM []byte + Selector string + type Hooks struct + OnAttemptDone func(ctx context.Context, attempt int, err error) + OnAttemptStart func(ctx context.Context, attempt int) context.Context + OnBuildDone func(ctx context.Context, msg *Message, size int, err error) + OnBuildStart func(ctx context.Context, msg *Message) context.Context + type Message struct + Attach []Attachment + Bcc []Address + Cc []Address + From Address + HTML []byte + Headers map[string]string + Plain []byte + Subject string + To []Address + TrackingID string + func (m *Message) CloneHeaders() map[string]string + func (m *Message) RecipientList() []string + func (m *Message) Validate() error Other modules containing this package github.com/aatuh/email