mail

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 6 Imported by: 0

README

mail

Documentation

Index

Constants

View Source
const (
	Separator = "\u0000"
)

Variables

This section is empty.

Functions

func SendEmail

func SendEmail(to []string, txt string)

Types

type EmailConfig

type EmailConfig struct {
	Username string `json:"user"`
	Password string `json:"pass"`
	SMTP     string `json:"smtp"`
	Port     string `json:"port"`
	Message  string `json:"message"`
	From     string `json:"from"`
	Subject  string `json:"subject"`
}

func (EmailConfig) Address

func (ec EmailConfig) Address() string

Jump to

Keyboard shortcuts

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