Documentation ¶
Index ¶
- type Mailer
- func (m *Mailer) SendConfirmMail(email string, code string, language string) error
- func (m *Mailer) SendInviteMail(email string, code string, language string) error
- func (m *Mailer) SendPasswordRecoverMail(email string, code string, language string) error
- func (m *Mailer) SendTestEmail(email string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailer ¶
type Mailer struct {
// contains filtered or unexported fields
}
func NewMailer ¶
func NewMailer( log *zap.Logger, cfg *config.Configuration, registry *i18n.TranslationRegistry, files fs.FS, ) (*Mailer, error)
func (*Mailer) SendConfirmMail ¶
func (*Mailer) SendInviteMail ¶
func (*Mailer) SendPasswordRecoverMail ¶
func (*Mailer) SendTestEmail ¶
Click to show internal directories.
Click to hide internal directories.