mail

package
v0.0.0-...-f60ab11 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	Name        string
	ContentType string
	Content     []byte
}

type EmailClient

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

func New

func New(host string, port string, username string, password string, from string, to []string) *EmailClient

func (EmailClient) Send

func (c EmailClient) Send(body string, attachment Attachment) error

Jump to

Keyboard shortcuts

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