Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( NewGomailDialer, NewLogger, wire.Struct(new(Sender), "*"), )
View Source
var ErrMissingSMTPConfiguration = errors.New("mail: configuration is missing")
Functions ¶
func MaskAddress ¶
MaskAddress masks the given email address, ignoring name.
func NewGomailDialer ¶
func NewGomailDialer(smtp *config.SMTPServerCredentials) *gomail.Dialer
func SplitAddress ¶
SplitAddress splits s into local part and domain.
Types ¶
type SendOptions ¶
Click to show internal directories.
Click to hide internal directories.