mail

package
v0.0.0-...-65a6f44 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMail

func GenerateMail(cfg models.Config, results []MailResult, processedImages map[string]string) (res string, err error)

func SendEmail

func SendEmail(args SendMailArgs) (err error)

Types

type MailResult

type MailResult struct {
	Rest   int
	Result grype.Result
}

type SendMailArgs

type SendMailArgs struct {
	Host     string
	Port     int
	Username string
	Password string
	From     string
	To       []string
	Subject  string
	Body     string
	Files    []string
}

Jump to

Keyboard shortcuts

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