mail

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 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 MailSettings

type MailSettings struct {
	ServerURI string `json:"server_uri,omitempty"`
	From      string `json:"from,omitempty"`
}

type Mailer

type Mailer interface {
	SendMail(to string, subject string, text string) error
}

func NewMailer

func NewMailer(settings MailSettings) (Mailer, error)

Jump to

Keyboard shortcuts

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