email

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: GPL-3.0 Imports: 4 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