emailmanager

package
v0.0.0-...-c8bebc6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2025 License: BSD-4-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EMail

type EMail struct {
	To      []string
	Subject string
	Body    string
}

type EMailConnection

type EMailConnection struct {
	Dialer *gomail.Dialer
	From   string
	Log    *zap.Logger
}

func InitEMailConnection

func InitEMailConnection(log *zap.Logger) (*EMailConnection, error)

func (*EMailConnection) SendEMail

func (eMailConnection *EMailConnection) SendEMail(email EMail) error

Jump to

Keyboard shortcuts

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