mail

package
v0.0.0-...-4fcc27b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailClient

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

func NewMailClient

func NewMailClient(address, port string) *MailClient

func (MailClient) Auth

func (m MailClient) Auth(login, password, address string) smtp.Auth

func (MailClient) SendAuthMail

func (m MailClient) SendAuthMail(sender, body string, receivers []string, auth smtp.Auth) (result bool)

type MailPayload

type MailPayload struct {
	Sender    string
	Body      string
	Receivers []string
	Username  string
	Password  string
	Host      string
}

Jump to

Keyboard shortcuts

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