Versions in this module Expand all Collapse all v0 v0.2.1 Jul 6, 2015 Changes in this version + const ErrNoTemplate + type Mail struct + Data interface{} + From string + RawContent string + Subject string + To []string + Type string + type Mailer struct + PrintMail bool + Templates map[string]mailTemplate + func NewMailer(username, password, addr string) *Mailer + func (m *Mailer) AddTemplateFile(typ, filename, subject string) error + func (m *Mailer) Send(mail *Mail) (err error)