email

package
v0.0.0-...-b2b1cb1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 2 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 {
	*SMTPInfo
}

func NewEmail

func NewEmail(info *SMTPInfo) *Email

func (*Email) SendMail

func (e *Email) SendMail(to []string, subject, body string) error

type SMTPInfo

type SMTPInfo struct {
	Host     string
	Port     int
	IsSSL    bool
	UserName string
	Password string
	From     string
}

Jump to

Keyboard shortcuts

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