cmdflags

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIllegalFlagOption = errors.New("illegal flag option in settings file")

Functions

This section is empty.

Types

type Settings

type Settings struct {
	SmtpHost       types.DomainName
	SmtpPort       types.TCPPort
	RootCA         types.FilePath
	Security       types.Security
	Authentication types.AuthenticationMethod
	Login          string
	Password       string

	Sender        types.Email
	ReplyTo       types.EmailAddresses
	RecipientsTo  types.EmailAddresses
	RecipientsCC  types.EmailAddresses
	RecipientsBCC types.EmailAddresses
	MessageID     string
	Subject       string
	Headers       types.Headers

	BodyText    string
	BodyHtml    string
	Attachments types.Attachments
}

func GetSettings

func GetSettings(output io.Writer, version string) (*Settings, error)

Jump to

Keyboard shortcuts

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