email

package
v0.0.0-...-ebdf1d9 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: MIT Imports: 3 Imported by: 10

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