mail

package
v0.0.0-...-8c94a4f Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mail handles requests to deliver mail to the account specified in the environment variables under the keys "MAILTO_NAME" and "MAILTO_ADDR".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(key, name, addr string)

Init initializes the package's mail environment from the injected environment variables.

func SendMail

func SendMail(w http.ResponseWriter, r *http.Request)

SendMail handles requests to send mail to the site owner.

Types

This section is empty.

Jump to

Keyboard shortcuts

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