email

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(conf *ec.Email, watcher *watcher.Watcher)

Types

type Email

type Email interface {
	Dialer() (Sender, error)
}

func Instance

func Instance() Email

Instance 获取email对象实例

type Sender

type Sender interface {
	Template(name string) *sender
	Pool(is bool) *sender
	Send(u string, variable ...interface{}) error
	SendAll(us []string, variable ...interface{}) error
}

Jump to

Keyboard shortcuts

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