email

package
v0.0.0-...-c387957 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendAuthorizeServiceEmail

func SendAuthorizeServiceEmail(email string, name string, website string, token string) error

Send email with link to authorize service

func SendConfirmationEmail

func SendConfirmationEmail(destination string, userType models.UserType, token string) error

Send email with link to verify user's email address

func SendResetPasswordEmail

func SendResetPasswordEmail(destination string, token string) error

Send email with link to reset user's password

func SendServiceApprovedEmail

func SendServiceApprovedEmail(email string) error

Send email letting service know they are approved

Types

type ConfirmServiceEmailData

type ConfirmServiceEmailData struct {
	EmailAddress       string
	ServiceName        string
	ServiceWebsite     string
	ApproveServiceLink string
}

type ConfirmationEmailData

type ConfirmationEmailData struct {
	ConfirmationLink              string
	ConfirmCodeExpirationDuration int
	IsProvider                    bool
}

type ResetPasswordEmailData

type ResetPasswordEmailData struct {
	ResetPasswordLink string
}

Jump to

Keyboard shortcuts

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