smtp

package
v0.0.0-...-6503209 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestMessage

func NewTestMessage(from, to, body string) (string, []byte)

Types

type Conn

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

func Dial

func Dial(ctx context.Context, addr string, conf *tls.Config, log *log.Logger, dnsMap map[string]string) (*Conn, error)

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) SendMail

func (c *Conn) SendMail(username, password, from string, to []string, msg []byte) error

Jump to

Keyboard shortcuts

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