mymail

package
v1.0.65 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MulanPSL-2.0 Imports: 5 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 {
	// contains filtered or unexported fields
}

func NewMail

func NewMail(host, user, password string, port int, smtpSSL bool) *Mail

func (*Mail) SendFileMail

func (m *Mail) SendFileMail(title, msg, filePath string, receivers []string)

func (*Mail) SendMsgMail

func (m *Mail) SendMsgMail(title, msg string, receivers []string)

Jump to

Keyboard shortcuts

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