Versions in this module Expand all Collapse all v0 v0.2.0 Apr 27, 2019 Changes in this version + const CharSet + type Config struct + Driver string + Host string + Password string + Port string + Username string + type Mail interface + Body func(string) Mail + Cc func(...string) Mail + From func(string, string) Mail + Send func() (interface{}, error) + Subject func(string) Mail + To func(...string) Mail + var Client Mail + func NewEngine(c Config) (mail Mail, err error) + type SES struct + func SESEngine() (*SES, error) + func (c SES) Body(body string) Mail + func (c SES) Cc(address ...string) Mail + func (c SES) From(name, address string) Mail + func (c SES) Send() (interface{}, error) + func (c SES) Subject(subject string) Mail + func (c SES) To(address ...string) Mail + type SMTP struct + func SMTPEngine(host, port, username, password string) (*SMTP, error) + func (c SMTP) Body(body string) Mail + func (c SMTP) Cc(address ...string) Mail + func (c SMTP) From(name, address string) Mail + func (c SMTP) Send() (interface{}, error) + func (c SMTP) Subject(subject string) Mail + func (c SMTP) To(address ...string) Mail