message

package
v0.0.0-...-e86600b Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 2 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 {
	Host     string
	Port     int
	User     string
	Password string
	Nickname string
}

func NewMail

func NewMail(host, user, password string, port int) *Mail

func (*Mail) Send

func (m *Mail) Send(mailAddress []string, title, body, attachment string) error

Send sends mail

Jump to

Keyboard shortcuts

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