providers

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResendProvider

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

func NewResendProvider

func NewResendProvider(
	config *emailtypes.EmailPluginConfig,
	logger models.Logger,
) (*ResendProvider, error)

func (*ResendProvider) SendEmail

func (r *ResendProvider) SendEmail(
	ctx context.Context,
	to string,
	subject string,
	text string,
	html string,
) error

type SMTPProvider

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

func NewSMTPProvider

func NewSMTPProvider(
	config *emailtypes.EmailPluginConfig,
	logger models.Logger,
) (*SMTPProvider, error)

func (*SMTPProvider) SendEmail

func (s *SMTPProvider) SendEmail(
	ctx context.Context,
	to string,
	subject string,
	text string,
	html string,
) error

Jump to

Keyboard shortcuts

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