email

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EMAIL_ADDRESS = "email.addr"
	EMAIL_AUTH    = "email.auth"

	EMAIL_SERVER_163             = "smtp.163.com"
	EMAIL_SERVER_163_ENDPOINT    = "smtp.163.com:25"
	EMAIL_SUBJECT_RESET_PASSWORD = "Curve-Manager Reset Password"
	EMAIL_SUBJECT_ALERT          = "Curve-Manager Alert"
)

Variables

This section is empty.

Functions

func Init

func Init(cfg *pigeon.Configure)

func SendAlert2Users

func SendAlert2Users(content string, tos []string) error

func SendNewPassWord

func SendNewPassWord(name, to, passwd string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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