gomail

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: BSD-2-Clause Imports: 3 Imported by: 0

README

gomail

Super lightweight and minimalist Go library to send email via TLS ... without a truck load of dependencies

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailer

type Mailer struct {
	Server string
	Port   int
	User   string
	Pass   string
}

func New

func New(server string, user, pass string) *Mailer

func (*Mailer) Send

func (m *Mailer) Send(from, to, subject, msg string, bcc []string) error

Jump to

Keyboard shortcuts

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