sendemail

package
v0.0.0-...-389a847 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2016 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var _, Log = xlog.New("sendemail")

Functions

func Send

func Send(e *Email) error

func SendAsync

func SendAsync(e *Email)

Types

type Email

type Email struct {
	From             string
	To               []string
	Headers          mail.Header
	Body             string
	OpenPGPEncryptTo []string

	// If Body is "", a message is assembled as follows:
	//
	//                   TextBody not set  TextBody set
	// HTMLBody not set  Empty message     Non-MIME text message
	// HTMLBody set      MIME HTML-only    MIME HTML & text message
	//
	HTMLBody string
	TextBody string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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