Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attachment ¶ added in v0.2.0
type Attachment struct {
Filename string `json:"filename"`
ContentType string `json:"content_type"`
Content string `json:"content"`
Encoded bool `json:"encoded"`
}
Email attachment. The content of the attachment is provided either as a UTF-8 string or as a Base64-encoded string ("encoded" set to "true").
type Email ¶
type Email struct {
From string `json:"from"`
To []string `json:"to"`
Cc []string `json:"cc"`
Bcc []string `json:"bcc"`
Subject string `json:"subject"`
Headers Headers `json:"headers"`
Text string `json:"text"`
Html string `json:"html"`
Attachments []Attachment `json:"attachments"`
}
Abstract representation of an email.
Click to show internal directories.
Click to hide internal directories.