friendmail

package
v1.4.5-alpha1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package friendmail is an extension which provides ability to send email to friend

Index

Constants

View Source
const (
	ConstCollectionNameFriendMail = "friend_mail"

	ConstConfigPathFriendMail              = "general.friendmail"
	ConstConfigPathFriendMailEmailTemplate = "general.friendmail.template"
	ConstConfigPathFriendMailEmailSubject  = "general.friendmail.subject"

	ConstErrorModule = "friendmail"
	ConstErrorLevel  = env.ConstErrorLevelActor

	ConstMaxCaptchaItems = 100000 // captcha maximum amount (to prevent memory leaks)
	ConstCaptchaLifeTime = 300    // seconds generated captcha works (5 min)
)

Package global constants

Variables

This section is empty.

Functions

func APIFriendCaptcha

func APIFriendCaptcha(context api.InterfaceApplicationContext) (interface{}, error)

APIFriendCaptcha will generate a captcha for use in a form

func APIFriendEmail

func APIFriendEmail(context api.InterfaceApplicationContext) (interface{}, error)

APIFriendEmail sends an email to a friend

Types

This section is empty.

Jump to

Keyboard shortcuts

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