Documentation
¶
Index ¶
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) AddRecipient ¶ added in v0.2.11
func (*Mandrill) SetHTMLContent ¶ added in v0.2.11
func (*Mandrill) SetTextContent ¶ added in v0.2.11
type Mandrills ¶ added in v0.2.11
type Mandrills interface {
AddRecipient(recipientEmail, recipientName string) Mandrills
SetHTMLContent(subject, htmlContent string) Mandrills
SetTextContent(subject, textContent 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.