Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMailer ¶
type IMailer interface { SendEmail(msg *gomail.Message) error Noop() error IsAvailable() bool GetFromHeader() string }
func NewMailer ¶
func NewMailer(config mailerConfig.IMailerConfig) (IMailer, error)
type Mailer ¶
type Mailer struct {
// contains filtered or unexported fields
}
func (*Mailer) GetFromHeader ¶
func (*Mailer) IsAvailable ¶
Click to show internal directories.
Click to hide internal directories.