Documentation
¶
Overview ¶
Package mailmeclient provides an implementation of mailer.Client that uses gopkg.in/gomail.v2 to send via SMTP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
From string
Host string
Port int
User string
Pass string
LocalName string
Logger logrus.FieldLogger
MailLogging bool
}
Client lets MailMe send templated mails
func New ¶
func New(globalConfig *conf.GlobalConfiguration) *Client
New returns a new *Mailer based on the given configuration.
Click to show internal directories.
Click to hide internal directories.