mailing

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2022 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

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 (m *Mailer) SendConfirmMail(email string, code string, language string) error

func (*Mailer) SendInviteMail

func (m *Mailer) SendInviteMail(email string, code string, language string) error

func (*Mailer) SendPasswordRecoverMail

func (m *Mailer) SendPasswordRecoverMail(email string, code string, language string) error

func (*Mailer) SendTestEmail

func (m *Mailer) SendTestEmail(email string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL