mailer

package
v0.0.0-...-3a79dc6 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MockSmtpMailer = mockSmtpMailer{}

Functions

This section is empty.

Types

type Mailer

type Mailer interface {
	SendActivationEmail(e, u, h string) error
	SendConfirmationEmail(e string) error
}

type SmtpMailer

type SmtpMailer struct {
	// contains filtered or unexported fields
}

func New

func New(from, password, host string, port int) *SmtpMailer

func (*SmtpMailer) SendActivationEmail

func (m *SmtpMailer) SendActivationEmail(e, u, h string) (err error)

func (*SmtpMailer) SendConfirmationEmail

func (m *SmtpMailer) SendConfirmationEmail(e string) (err error)

Jump to

Keyboard shortcuts

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