providers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMTPConfig

type SMTPConfig struct {
	Host      string
	Port      int
	Username  string
	Password  string
	SecureTLS bool // implicit TLS (465). If false, use STARTTLS when available.
	FromName  string
	FromEmail string
}

type SMTPProvider

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

func NewSMTPProvider

func NewSMTPProvider(cfg SMTPConfig) *SMTPProvider

func (*SMTPProvider) Send

func (s *SMTPProvider) Send(ctx context.Context, msg *mail.Message) error

Jump to

Keyboard shortcuts

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