Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigOptions ¶
ConfigOptions includes all mail config options.
type Mail ¶
type Mail struct { ConfigOptions // contains filtered or unexported fields }
Mail is a configured email.
func New ¶
func New(logger *zap.SugaredLogger, conf ConfigOptions, to, subject string) Mail
New returns a new mail.
Click to show internal directories.
Click to hide internal directories.