mail

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2014 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(msg *Message) error

Send sends an email message.

func SendActivation

func SendActivation(to string, data interface{}) error

Sends a activation email to the User.

func SendFailure

func SendFailure(repo, sha, to string, data interface{}) error

Sends a build failure email to the user.

func SendInvitation

func SendInvitation(team, to string, data interface{}) error

Sends an invitation to join a Team

func SendPassword

func SendPassword(to string, data interface{}) error

Sends an email to the User's email address with Password reset information.

func SendSuccess

func SendSuccess(repo, sha, to string, data interface{}) error

Sends a build success email to the user.

Types

type Message

type Message struct {
	Sender  string
	ReplyTo string // may be empty

	To      string
	Subject string
	Body    string
}

A Message represents an email message. Addresses may be of any form permitted by RFC 822.

Jump to

Keyboard shortcuts

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