smtp

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

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

Sender is used to send e-mails

func NewSender

func NewSender(host, port, username, password string) *Sender

NewSender creates a new mailgun e-mail sender

func (*Sender) Send

func (s *Sender) Send(from, to, subject, message string) error

Send an e-mail

Jump to

Keyboard shortcuts

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