email

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: ISC, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

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

func NewSender

func NewSender(smtpHost string, smtpUsername string, smtpPassword string,
	smtpFrom string, useSMTPS bool, systemCerts *x509.CertPool,
	skipVerify bool) (Sender, error)

func (*Sender) EmailChangeNotification

func (s *Sender) EmailChangeNotification(baseURL, currentEmail, newEmail, clientIP string) error

func (*Sender) EmailChangeVerification

func (s *Sender) EmailChangeVerification(baseURL, currentEmail, newEmail, clientIP, token string) error

func (*Sender) PasswordChangeConfirm

func (s *Sender) PasswordChangeConfirm(email, baseURL, clientIP string) error

func (*Sender) PasswordChangeRequest

func (s *Sender) PasswordChangeRequest(email, clientIP, baseURL, token string) error

func (*Sender) Registration

func (s *Sender) Registration(email, baseURL, clientIP, token string) error

Jump to

Keyboard shortcuts

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