mail

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMails

func SendMails(config *Config, persons []*santa.Person) error

Types

type Config

type Config struct {
	SmtpAddress  string `json:"smtp-address"`
	SmtpPort     int    `json:"smtp-port"`
	EmailAddress string `json:"email-address"`
}

func LoadConfig

func LoadConfig(configFile string) (mailConfig *Config, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳