Documentation ¶
Index ¶
- type Mailer
- func (m *Mailer) ListenForMessage()
- func (m *Mailer) SelectAPI(msg Message) error
- func (m *Mailer) SelectAPIDriver(transport string, config mail.Config) (mail.Mailer, error)
- func (m *Mailer) Send(msg Message) error
- func (m *Mailer) SendViaAPI(msg Message, transport string) error
- func (m *Mailer) SentSMTPMessage(msg Message) error
- type Message
- type Result
- type TemplateFormat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailer ¶
type Mailer struct { Domain string Templates string Host string Port int Username string Password string Encryption string FromAddress string FromName string Jobs chan Message Results chan Result API string ApiKey string ApiUrl string }
func (*Mailer) ListenForMessage ¶
func (m *Mailer) ListenForMessage()
func (*Mailer) SelectAPIDriver ¶
func (*Mailer) SentSMTPMessage ¶
type TemplateFormat ¶
type TemplateFormat string
const ( HTMLTemplateFormat TemplateFormat = "html" PlainTextTemplateFormat TemplateFormat = "plain/text" )
Click to show internal directories.
Click to hide internal directories.