Documentation ¶
Index ¶
- type MailConfig
- type Mandrill
- func (m *Mandrill) AddAttachment(attachment *mandrill.Attachment) Mandrills
- func (m *Mandrill) AddRecipient(recipientEmail, recipientName string) Mandrills
- func (m *Mandrill) Send() error
- func (m *Mandrill) SetGlobalMergeVars(data map[string]interface{}) Mandrills
- func (m *Mandrill) SetHTMLContent(subject, htmlContent string) Mandrills
- func (m *Mandrill) SetTemplate(templateName string, templateContent map[string]string) Mandrills
- func (m *Mandrill) SetTextContent(subject, textContent string) Mandrills
- type Mandrills
- type SMTP
- type SMTPConfig
- type SMTPs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailConfig ¶ added in v0.2.11
type Mandrill ¶ added in v0.2.11
type Mandrill struct { *MailConfig // contains filtered or unexported fields }
func (*Mandrill) AddAttachment ¶ added in v0.2.12
func (m *Mandrill) AddAttachment(attachment *mandrill.Attachment) Mandrills
func (*Mandrill) AddRecipient ¶ added in v0.2.11
func (*Mandrill) SetGlobalMergeVars ¶ added in v0.2.13
func (*Mandrill) SetHTMLContent ¶ added in v0.2.11
func (*Mandrill) SetTemplate ¶ added in v0.2.13
func (*Mandrill) SetTextContent ¶ added in v0.2.11
type Mandrills ¶ added in v0.2.11
type Mandrills interface { AddRecipient(recipientEmail, recipientName string) Mandrills AddAttachment(attachment *mandrill.Attachment) Mandrills SetHTMLContent(subject, htmlContent string) Mandrills SetTextContent(subject, textContent string) Mandrills SetGlobalMergeVars(data map[string]interface{}) Mandrills SetTemplate(templateName string, templateContent map[string]string) Mandrills Send() error }
func NewMandrill ¶ added in v0.2.11
func NewMandrill(opts *MailConfig) Mandrills
type SMTP ¶
type SMTP struct { SMTPConfig // contains filtered or unexported fields }
func (*SMTP) AddRecipient ¶ added in v0.2.10
func (*SMTP) SetContent ¶
type SMTPConfig ¶
type SMTPConfig struct { MailConfig // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.