mail_plugin

package
v0.0.0-...-69b6b67 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(config Config) error

func Init_

func Init_(name string, config Config) error

Types

type Config

type Config struct {
	Host     string
	Port     int
	UserName string
	Password string
}

type Sender

type Sender struct {
	// contains filtered or unexported fields
}

func GetInstance

func GetInstance() *Sender

func GetInstance_

func GetInstance_(name string) *Sender

func (*Sender) Send

func (s *Sender) Send(from_text string, to_address string, subject string, body string) error

Jump to

Keyboard shortcuts

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