Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopMailer ¶
type NoopMailer struct {
// contains filtered or unexported fields
}
func NewNoopMailer ¶
func NewNoopMailer() *NoopMailer
func (*NoopMailer) Sent ¶
func (m *NoopMailer) Sent() []Message
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
Renderer renders HTML email bodies from named templates with automatic HTML escaping (html/template).
func NewRenderer ¶
NewRenderer parses the given named templates (name -> template source).
type SMTPMailer ¶
type SMTPMailer struct {
// contains filtered or unexported fields
}
func NewSMTPMailer ¶
func NewSMTPMailer(host string, port int, user, pass, from string) *SMTPMailer
Click to show internal directories.
Click to hide internal directories.