email

package
v0.0.0-...-bfcc399 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email struct {
	From     string
	AuthCode string
	Host     string
	Port     int
	Sender   string
}

func NewEmail

func NewEmail(from, authCode, host, sender string, port int) *Email

func (*Email) Send

func (e *Email) Send(to, subject, content string) error

发送

Jump to

Keyboard shortcuts

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