email

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	sptty.BaseConfig

	Endpoints map[string]Endpoint `yaml:"endpoints"`
}

func (*Config) ConfigName

func (s *Config) ConfigName() string

type Endpoint

type Endpoint struct {
	Author string `yaml:"author"`
	Pwd    string `yaml:"pwd"`
	Host   string `yaml:"host"`
	Port   int    `yaml:"port"`
}

type Service

type Service struct {
	sptty.BaseService
	// contains filtered or unexported fields
}

func (*Service) Init

func (s *Service) Init(app sptty.ISptty) error

func (*Service) Send

func (s *Service) Send(req *base.ReqEmail) error

func (*Service) ServiceName

func (s *Service) ServiceName() string

Jump to

Keyboard shortcuts

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