email

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	English            = pb.Language_en
	Korean             = pb.Language_ko
	SimplifiedChinese  = pb.Language_zhcn
	TraditionalChinese = pb.Language_zhtw
)

Variables

This section is empty.

Functions

func Dial

func Dial(addr string) (*smtp.Client, error)

return a smtp client

func Disable

func Disable()

Disable stops emails from being sent.

func SendInvite

func SendInvite(user string, token string, language int32) error

SendInvite ...

func SendMailUsingTLS

func SendMailUsingTLS(addr string, auth smtp.Auth, from string,
	to []string, msg []byte) (err error)

func Setup

func Setup(c config.Config) error

Setup configures the package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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