mail

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail struct {
	// contains filtered or unexported fields
}

func NewMail

func NewMail(config *config.Config, bundle *i18n.Bundle) (*Mail, *perror.PlutoError)

func (*Mail) Send

func (m *Mail) Send(recv, subj, contentType, body string) error

func (*Mail) SendPlainText

func (m *Mail) SendPlainText(address, subject, text string) *perror.PlutoError

func (*Mail) SendRegisterVerify

func (m *Mail) SendRegisterVerify(userID uint, address string, baseURL string, language string, appName string) *perror.PlutoError

func (*Mail) SendResetPassword

func (m *Mail) SendResetPassword(address string, baseURL string, userLanguage string, appName string) *perror.PlutoError

Jump to

Keyboard shortcuts

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