email

package
v0.0.0-...-fd00ed1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(username, password, host, port string) *Client

func (*Client) Send

func (c *Client) Send(r *Request) error

type Request

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

func NewRequest

func NewRequest(from, subject string) *Request

func (*Request) SetBCC

func (r *Request) SetBCC(bcc []string)

func (*Request) SetBody

func (r *Request) SetBody(templateName string, data map[string]string) (e error)

func (*Request) SetCC

func (r *Request) SetCC(cc []string)

func (*Request) SetTo

func (r *Request) SetTo(to []string)

Jump to

Keyboard shortcuts

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