Documentation
¶
Overview ¶
Package smtpservice provides SMTP email service implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSMTPConfigMissing = errors.New("smtp login,password and server are mandatory") ErrSMTPServerFormat = errors.New("smtp server format should be: host:port") )
Static errors for wrapping.
Functions ¶
func NewSMTPService ¶ added in v0.6.2
func NewSMTPService(smtplogin string, smtpPassword string, smtpServer string, tls bool) (mailservice.MailSender, error)
NewSMTPService creates a new SMTP service instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.