Documentation ¶
Overview ¶
Forked from github.com/SlyMarbo/gmail
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Email ¶
type Email struct { From string To []string Subject string ContentType string Body string Attachments map[string][]byte }
Email represents a single message, which may contain attachments.
func Compose ¶
Compose begins a new email, filling the subject and body, and allocating memory for the list of recipients and the attachments.
func (*Email) AddRecipient ¶
AddRecipient adds a single recipient.
func (*Email) AddRecipients ¶
AddRecipients adds one or more recipients.
Click to show internal directories.
Click to hide internal directories.