client

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: JSON Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSmtpConnector

func NewSmtpConnector() connectors.Connector

Types

type SmtpConnector

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

func (SmtpConnector) GetAuth

func (c SmtpConnector) GetAuth(schema smtptype.Smtp) smtp.Auth

func (SmtpConnector) GetSmtp

func (c SmtpConnector) GetSmtp(schema smtptype.Smtp, withAuth bool, isTls bool, startTls bool) (*smtp.Client, error)

func (SmtpConnector) Id

func (c SmtpConnector) Id() string

func (SmtpConnector) Load

func (c SmtpConnector) Load(schema interface{}) (interface{}, error)

func (SmtpConnector) Name

func (c SmtpConnector) Name() string

func (SmtpConnector) Schema

func (c SmtpConnector) Schema() interface{}

func (SmtpConnector) Tags

func (c SmtpConnector) Tags() []string

Jump to

Keyboard shortcuts

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