provider

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMTPProvider

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

SMTPProvider implements the Provider interface for SMTP email sending.

func NewSMTPProvider

func NewSMTPProvider(host string, port int, username, password, from string) (*SMTPProvider, error)

NewSMTPProvider creates a new SMTP provider instance.

func (*SMTPProvider) SendEmail

SendEmail sends an email via SMTP.

Jump to

Keyboard shortcuts

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