Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mail ¶
type Mail struct {
From mail.Address
To []mail.Address
Cc []mail.Address
Bcc []mail.Address
Subject string
Text string
Html string
// Headers holds extra headers only, such as List-Unsubscribe and
// List-Unsubscribe-Post (RFC 8058). From, To, Cc, Bcc and Subject stay in
// their own fields and must not be set here.
Headers map[string]string `json:",omitempty"`
}
Click to show internal directories.
Click to hide internal directories.