internal

package
v0.0.0-...-05e6c51 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MailRequestHandler

func MailRequestHandler(w http.ResponseWriter, r *http.Request)

Types

type EmailSender

type EmailSender interface {
	SendEmail(subject, content string, to, cc, bcc, attachFiles []string) error
}

func NewGmailSender

func NewGmailSender(name, fromEmailAddress, fromEmailPassword string) EmailSender

type GmailSender

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

func (*GmailSender) SendEmail

func (sender *GmailSender) SendEmail(subject, content string, to, cc, bcc, attachFiles []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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