email

package
v0.0.0-...-937e8d9 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Letter

type Letter struct {
	Subject  string
	From     string
	FromName string
	To       []string
	Body     string
}

func (Letter) BuildMessage

func (l Letter) BuildMessage() ([]byte, error)

type Mail

type Mail struct {
	Sender  string
	To      []string
	Subject string
	Body    string
}

type SmptClient

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

func NewSmptClient

func NewSmptClient(user string, password string, server string, port int) (client *SmptClient)

func (SmptClient) Send

func (sc SmptClient) Send(msgr notice.Messager) error

Jump to

Keyboard shortcuts

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