smtrackerp

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Unlicense Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePayload

func GeneratePayload(cfg *Config)

GeneratePayload: generate the HTML transparent image and save it in a file

func GetTracker

func GetTracker(url string, target string) (tracker string, err error)

GetTracker: Return the img tag used for tracking purpose

func SendMail

func SendMail(cfg *Config)

func Serve

func Serve(cfg *Config)

Serve: wait for request indicating that user read the mail

func TrackHandler

func TrackHandler(cfg *Config) http.Handler

Types

type Config

type Config struct {
	Url       string
	Target    string
	Verbose   bool
	Recipents []string
	Subject   string
	Body      []byte
	SmtpHost  string
	SmtpPort  string
	Username  string
	Password  string
}

Jump to

Keyboard shortcuts

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