email

package
v0.0.0-...-a137e98 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package email provides email sending via SMTP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Username string
	Password string
	Hostname string
	Port     int
	From     string
}

Info holds the details for the SMTP server.

func (Info) Send

func (c Info) Send(to, subject, body string) error

Send an email.

Jump to

Keyboard shortcuts

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