mailconfig

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("mailautoconfig: no mail server found")

Functions

func GetVendorPasswordHint

func GetVendorPasswordHint(addr, smtpHostname string) string

Types

type SMTP

type SMTP struct {
	Hostname string
	Port     string
	StartTLS bool

	Username string
}

func DiscoverSMTP

func DiscoverSMTP(ctx context.Context, addr string) (*SMTP, error)

Jump to

Keyboard shortcuts

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