link

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(client *smtp.Client)

Types

type Config

type Config struct {
	EmailClient *smtp.Client
	SmtpServer  string
	SmtpPort    string
	From        string
	LicenseCode string
	Type        string
}

func Open

func Open(config *Config) (*Config, error)

func (*Config) SendEmail

func (config *Config) SendEmail(subject, body string, to string) error

func (*Config) SendMultipleEmail

func (config *Config) SendMultipleEmail(subject, body string, to []string) error

Jump to

Keyboard shortcuts

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