Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MailCreator ¶ added in v1.0.16
type MailCreator struct { Mail Mail From, Subject, Body string To, CC, BCC []string // contains filtered or unexported fields }
func NewMailCreator ¶ added in v1.0.16
func NewMailCreator() *MailCreator
func (*MailCreator) AddAttachment ¶ added in v1.0.16
func (m *MailCreator) AddAttachment(filePath string) error
func (*MailCreator) AddHeader ¶ added in v1.0.16
func (m *MailCreator) AddHeader(key, value string)
func (*MailCreator) Compose ¶ added in v1.0.16
func (m *MailCreator) Compose() ([]byte, error)
type MetadataItem ¶
MetadataItem - metadata within output
type Output ¶
type Output struct { Version struct { Time time.Time } `json:"version"` Metadata []MetadataItem }
Output - represents output from out
type Params ¶ added in v1.0.13
type Params struct { Subject string SubjectText string `json:"subject_text"` Body string BodyText string `json:"body_text"` SendEmptyBody bool `json:"send_empty_body"` Headers string HeadersText string `json:"headers_text"` To string `json:"to"` ToText string `json:"to_text"` Cc string `json:"cc"` CcText string `json:"cc_text"` Bcc string `json:"bcc"` BccText string `json:"bcc_text"` Debug string `json:"debug"` AttachmentGlobs []string `json:"attachment_globs"` }
Click to show internal directories.
Click to hide internal directories.