email

package
v0.0.0-...-cb65031 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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) SendMailTo

func (e *Email) SendMailTo(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