clientconfig

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package clientconfig provides automatic config of IMAP and SMTP. For now only for Apple Mail.

Index

Constants

View Source
const AppleMailClient = "Apple Mail"

Variables

View Source
var (
	ErrNotAvailable = errors.New("configuration not available")
)

Functions

func ConfigureAppleMail

func ConfigureAppleMail(user types.User, address string, s *settings.Settings) (needRestart bool, err error)

Types

type AutoConfig

type AutoConfig interface {
	Name() string
	Configure(imapPort int, smtpPort int, imapSSl, smtpSSL bool, user types.User, address string) error
}

Jump to

Keyboard shortcuts

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