Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentData ¶
AttachmentData struct
type Email ¶
type Email struct { To EmailAddresses Cc EmailAddresses Bcc EmailAddresses From EmailAddress Subject string Body string Attachments []AttachmentData InReplyTo string // Message-id header of messaged being replied to References []string }
Email - information for the email to be sent
type EmailAddress ¶
EmailAddress struct
type EmailAddresses ¶
type EmailAddresses []EmailAddress
EmailAddresses - alias for []EmailAddress
func (EmailAddresses) Addresses ¶
func (ea EmailAddresses) Addresses() []string
Addresses - returns a slice of just the address portion of EmailAddresses
func (EmailAddresses) ArrList ¶
func (ea EmailAddresses) ArrList(includeName bool) string
ArrList - convert to comma-seperated list of email Addresses
Click to show internal directories.
Click to hide internal directories.