email

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendEmail

func SendEmail(server, identity, sender, recipient string, body *template.Template, data interface{}) error

Types

type SmtpEmailVerifier

type SmtpEmailVerifier struct {
	Server   string
	Identity string
	Sender   string
	Template *template.Template
}

func NewSmtpEmailVerifier

func NewSmtpEmailVerifier(server, identity, sender string, template *template.Template) *SmtpEmailVerifier

func (SmtpEmailVerifier) Verify

func (v SmtpEmailVerifier) Verify(email, username string) (string, error)

Jump to

Keyboard shortcuts

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