email

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultEmailVerifyTemplate = `` /* 3033-byte string literal not displayed */

	DefaultMaintenanceEmailTemplate = `` /* 2652-byte string literal not displayed */

	DefaultExpirationEmailTemplate = `` /* 2270-byte string literal not displayed */

	DefaultTrafficExceedEmailTemplate = `` /* 2083-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func GetSupportedPlatforms

func GetSupportedPlatforms() []types.PlatformInfo

Types

type Platform

type Platform int
const (
	SMTP Platform = iota
)

func (Platform) String

func (p Platform) String() string

type Sender

type Sender interface {
	Send(to []string, subject, body string) error
}

func NewSender

func NewSender(platform, config, siteName string) (Sender, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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