Categorygithub.com/moapis/mailer
modulepackage
0.3.0
Repository: https://github.com/moapis/mailer.git
Documentation: pkg.go.dev

# README

codecov GoDoc Go Report Card

Mailer

Package mailer is a functional wrapper around the standard "net/smtp" and "html/template" packages.

# Functions

New returns a reusable mailer.

# Constants

GlobalHeaders is set on every message.

# Variables

Debug mode prints the outgoing mail before sending.

# Structs

Header for mail message.
Mailer holds a html template, server and authentication information for efficient reuse.