smtp

package
v0.0.0-...-e183637 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2014 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sets

type Sets struct {
	Identity string
	Username string
	Password string
	Host     string
	Subject  string
	To       []string
}

type Smtp

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

func New

func New(arg Sets) *Smtp

func (*Smtp) Close

func (s *Smtp) Close() (err error)

func (*Smtp) Rotate

func (s *Smtp) Rotate(begin, now time.Time)

func (*Smtp) Write

func (s *Smtp) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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