mail

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail struct {
	User string
	Pwd  string
	From string
	To   []string
	Sub  string
	Body string
}

func NewMail

func NewMail() *Mail

func (*Mail) Init

func (M *Mail) Init(User string, Pwd string, From string) *Mail

func (*Mail) Send

func (M *Mail) Send() error

func (*Mail) Set

func (M *Mail) Set(To []string, Sub string, Body string) *Mail

Jump to

Keyboard shortcuts

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