email

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: GPL-2.0, GPL-3.0 Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var From string

From is the source of the email

View Source
var Pass string

Pass is the password of the sender's email account

Functions

func SendMail

func SendMail(body string, to string) error

SendMail is a handler for sending out an email to an entity, reading required params from the config file

func SetConsts

func SetConsts(from string, pass string)

SetConsts sets the consts for email processing

Types

This section is empty.

Jump to

Keyboard shortcuts

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