email

package
v0.0.0-...-f90eb3b Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: Apache-2.0 Imports: 3 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 interface {
	SendResetPasswordEmail(toEmail, resetToken string) error
}

type SmtpSender

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

func NewSmtpSender

func NewSmtpSender(host, port, username, password, from string) *SmtpSender

func (*SmtpSender) SendResetPasswordEmail

func (s *SmtpSender) SendResetPasswordEmail(toEmail, resetToken string) error

Jump to

Keyboard shortcuts

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