email

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID       = "email"
	Host     = "host"
	Port     = "port"
	Username = "username"
	Password = "password"
)

Variables

This section is empty.

Functions

func SendEmail

func SendEmail(config *Config, toMail string, title, content string) error

Types

type Config

type Config struct {
	Host     string
	Port     int
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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