mail

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMailConfiguration

func CheckMailConfiguration() error

CheckMailConfiguration verification of smtp configuration

func SendEmail

func SendEmail(subject string, mailContent *bytes.Buffer, userMail string) error

SendEmail is the core function to send an email

func SendMailVerifyToken

func SendMailVerifyToken(userMail, username, token, callback string) error

SendMailVerifyToken Send mail to verify user account

func Status

func Status() string

Status verification of smtp configuration, returns OK or KO

Types

This section is empty.

Jump to

Keyboard shortcuts

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