myemail

package
v0.0.0-...-1107578 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailBody

type EmailBody struct {
	Body        string
	ContentType string
}

type EmailCC

type EmailCC struct {
	Addr string
	Name string
}

type EmailContent

type EmailContent struct {
	//	/To []string
	//CC       []EmailCC
	Subject  string
	Body     EmailBody
	Attaches []string
}

type EmailInfo

type EmailInfo struct {
	Host     string
	Port     int
	UserName string
	Password string
	From     string
	To       []string
}

func (EmailInfo) SendEmail

func (this EmailInfo) SendEmail(detail EmailContent) error

func (EmailInfo) SendEmailUrlGet

func (this EmailInfo) SendEmailUrlGet(url string, detail EmailContent, tout uint32) ([]byte, error)

Jump to

Keyboard shortcuts

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