lib

package
v0.0.0-...-9ef13dc Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2015 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 GmailSender

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

GmailSender sends email using Gmail's SMTP server, reusing the underlying SMTP connection.

func NewGmailSender

func NewGmailSender(user, password string) (*GmailSender, error)

func (*GmailSender) Close

func (s *GmailSender) Close() error

func (*GmailSender) SendMail

func (s *GmailSender) SendMail(recipient string, data []byte) error

Jump to

Keyboard shortcuts

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