mail

package
v0.0.0-...-79b970a Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailClient

type MailClient interface {
	SendMail(receivers []string) error
}

type SmtpClient

type SmtpClient struct {
	Auth *smtp.Auth
	Addr string
}

func NewClient

func NewClient(component util.Components) *SmtpClient

func (*SmtpClient) SendMail

func (s *SmtpClient) SendMail(receivers []string) error

Jump to

Keyboard shortcuts

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