Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type MailgunApiMail ¶
type MailgunApiMail struct {
// contains filtered or unexported fields
}
func NewMailgunApiMail ¶
func NewMailgunApiMail(domain, apiKey, fromName, from, baseApi string) *MailgunApiMail
func (*MailgunApiMail) Send ¶
func (o *MailgunApiMail) Send(toName string, to string, subject string, content string, attachments []Attachment) error
type SendgridApiMail ¶
type SendgridApiMail struct {
// contains filtered or unexported fields
}
func NewSendgridApiMail ¶
func NewSendgridApiMail(apiKey, fromName, from string) *SendgridApiMail
func (*SendgridApiMail) Send ¶
func (o *SendgridApiMail) Send(toName string, to string, subject string, content string, attachments []Attachment) error
type SmtpMail ¶
type SmtpMail struct {
// contains filtered or unexported fields
}
func NewSmtpMail ¶
Click to show internal directories.
Click to hide internal directories.