email

package
v0.0.0-...-c34a4ac Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	From        string
	SMTPHost    string
	SMTPPort    int
	InsecureTLS bool
	Username    string
	Password    string
	Delay       time.Duration
}

Config - SMTP settings

type Sender

type Sender struct {
	AuditorEmail string
	Config       *Config
	Log          zerolog.Logger
	// contains filtered or unexported fields
}

Sender - send email

func (*Sender) Send

func (s *Sender) Send(leak hungryfox.Leak) error

Send - send leaks

func (*Sender) Start

func (s *Sender) Start() error

Start - start sender

func (*Sender) Stop

func (s *Sender) Stop() error

Stop - stop sender

Jump to

Keyboard shortcuts

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