mail

package
v0.0.0-...-1aeafd4 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email163

type Email163 struct {
	Host string // 邮箱服务器地址
	Port int    // 邮箱服务器端口
	User string // 邮箱发送者名字
	Pass string // 邮箱发送者密码
	Nick string // 邮箱发送者昵称
}

Email163 网易163邮箱

func NewEmail163

func NewEmail163(user, pass, nick string) *Email163

func (*Email163) Send

func (e *Email163) Send(receivers []string, subject string, body string) error

Send receivers不能为空

Jump to

Keyboard shortcuts

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