mail

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmtpClient

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

func NewClient

func NewClient(envPath string, secure bool) (*SmtpClient, error)

func (*SmtpClient) MakeConfCodeMessage

func (c *SmtpClient) MakeConfCodeMessage(mailToAddress, confirmationCode string) []byte

MakeConfCodeMessage creates the confirmation code email to be sent.

func (*SmtpClient) MakeResetCodeMessage

func (c *SmtpClient) MakeResetCodeMessage(mailToAddress, resetLink string) []byte

MakeResetCodeMessage creates the reset password email to be sent.

func (*SmtpClient) SendMail

func (c *SmtpClient) SendMail(mailToAddress string, message []byte) error

Jump to

Keyboard shortcuts

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