smtp

package
v0.0.0-...-e742213 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2013 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AlreadyConnected = errors.New("Already Connected")
	NotConnected     = errors.New("Not Connected")
)

Functions

This section is empty.

Types

type SMTP

type SMTP struct {
	IsConnected bool
	// contains filtered or unexported fields
}

func New

func New() *SMTP

func (*SMTP) Close

func (s *SMTP) Close() error

func (*SMTP) Connect

func (s *SMTP) Connect(host string) error

func (*SMTP) SendMail

func (s *SMTP) SendMail(m message.Message) error

func (*SMTP) SetName

func (s *SMTP) SetName(name string)

Jump to

Keyboard shortcuts

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