smtp

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSMTPServer

func DeleteSMTPServer(address string) error

func SaveSMTPServer

func SaveSMTPServer(smtpServer SMTPServer) error

user setting first

Types

type SMTPServer

type SMTPServer struct {
	Address string `json:"address"`
	Server  string `json:"server"`
	Port    string `json:"port"`
}

func GetCustomSMTPServer

func GetCustomSMTPServer() ([]SMTPServer, error)

func GetSMTPServer

func GetSMTPServer(email string) (SMTPServer, error)

Jump to

Keyboard shortcuts

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