mailer

package
v0.0.0-...-f47b430 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GmailSMTPAuth              = "smtp.gmail.com"
	GmailSMTPServer            = "smtp.gmail.com:587"
	EmailSourceName            = "codera OJ"
	EmailTypeContestReminder   = "ContestReminder"
	EmailTypeEmailVerification = "EmailVerification"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailer

type Mailer interface {
	Send() error
	To([]string) *mail
	WithSubject(string) *mail
	WithTemplate(string, interface{}) *mail
	WithAttachments([]string) *mail
}

func NewMailer

func NewMailer() Mailer

Jump to

Keyboard shortcuts

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