Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { Name string `json:"Name"` Content []byte `json:"Content"` ContentType string `json:"ContentType"` }
Attachment is an email attachment (optional).
type Email ¶
type Email struct { From string `json:"From"` To string `json:"To"` ReplyTo string `json:"ReplyTo"` /* optional */ Subject string `json:"Subject"` Text string `json:"TextBody"` HTML string `json:"HtmlBody"` MessageStream string `json:"MessageStream"` /* default: "outbound" */ Attachments []Attachment `json:"Attachments,omitempty"` }
Email is a Postmark email message.
Click to show internal directories.
Click to hide internal directories.