mail

package
v0.0.0-...-c079afc Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail struct {
	// contains filtered or unexported fields
}

Mail holds the mail sender object

func Init

func Init(email, password, smtpaddr, domain string) *Mail

Init mail sender

func (Mail) Send

func (m Mail) Send(to []string, template string, data interface{}) error

Send mail to recipients using a mail template

Jump to

Keyboard shortcuts

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