email

package
v0.0.0-...-dffa276 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Postman   = realPostOfficer()
	Cartero   = realPostOfficer()
	Facteur   = realPostOfficer()
	Yóudìyuán = realPostOfficer()

	Leterportisto = realPostOfficer()
)

Functions

func InitGomail

func InitGomail() *gomail.Mailer

func SendEmailFromAdmin

func SendEmailFromAdmin(to string, subject string, body string, bodyHTML string) error

func SendTestEmail

func SendTestEmail() error

Types

type EmailError

type EmailError error

func PostOffice

func PostOffice(msg *gomail.Message, postOfficers ...PostOfficer) EmailError

func SendEmail

func SendEmail(msg *gomail.Message) (emailError EmailError)

type PostOfficer

type PostOfficer func(msg *gomail.Message) EmailError

Jump to

Keyboard shortcuts

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