email

package
v0.0.0-...-696a884 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2014 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package email provides methods for sending email messages, with support for multiple To, Cc, Bcc fields, attachments etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

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

func (*Email) Send

func (e *Email) Send(p Request) (bool, error)

func (*Email) Setup

func (e *Email) Setup(config *config.Config) error

type Request

type Request struct {
	Subject string
	Message struct {
		Content string
		Type    string
	}
	From struct {
		Address string
		Name    string
	}
	To     []string
	Cc     []string
	Bcc    []string
	Attach []struct {
		Filename string
		Type     string
		Data     string
	}
}

Jump to

Keyboard shortcuts

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