//
pkg.gl
Category
github.com/moapis/mailer
module
package
0.3.0
Repository:
https://github.com/moapis/mailer.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
1
Files
60 SLOC
#
README
Mailer
Package mailer is a functional wrapper around the standard "net/smtp" and "html/template" packages.
#
Functions
New
New returns a reusable mailer.
#
Constants
GlobalHeaders
GlobalHeaders is set on every message.
#
Variables
Debug
Debug mode prints the outgoing mail before sending.
#
Structs
Header
Header for mail message.
Mailer
Mailer holds a html template, server and authentication information for efficient reuse.