package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Oct 15, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Sender interface {
SendMail(subject, body, recipient string) error
}
Sender provides and interface for sending email
func GetGmailSender(hostEnvVar, portEnvVar, usernameEnvVar, passwordEnvVar string) Sender
GetGmailSender returns an EmailSender that uses SMTP
Source Files
¶
Click to show internal directories.
Click to hide internal directories.