email

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmailTimeout = 1 * time.Minute

Functions

This section is empty.

Types

type Attach

type Attach struct {
	FileName string
	Content  io.Reader
}

type Client

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

func NewClient

func NewClient(host string, port int, noAuth bool, mail, password string) Client

func (*Client) Send

func (c *Client) Send(msg []byte, headers map[string][]string, attachments []Attach) error

Send with headers. Headers should not be empty string array!

Jump to

Keyboard shortcuts

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