email

package
v0.0.0-...-d369a32 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "email"
)

发送器名称

Variables

This section is empty.

Functions

func New

func New(setting map[string]string) (sender.Sender, error)

New create new sender

Types

type Sender

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

Sender represents a email sender

func (*Sender) Send

func (sender *Sender) Send(title, content, from string, to []string) (int, error)

Send email

Jump to

Keyboard shortcuts

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