email

package
v0.0.0-...-e29cf6a Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2015 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SendRegistrationEmail = func(u *db.User) error {
	if !configLoaded {
		LoadConfig()
	}
	uri := fmt.Sprintf("%s/activate/?email=%s&key=%s", domain, u.Email, u.ActivateToken)
	regMessage := fmt.Sprintf(regMessageRaw, uri)
	return sendMail(regMessage, u.Email)
}

SendRegisterationEmail sends email to u.Email with link to activate the User

Functions

func LoadConfig

func LoadConfig()

LoadConfig loads this package's configuration fron config.Config package

Types

This section is empty.

Jump to

Keyboard shortcuts

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