mailer

package module
v0.0.0-...-30c1951 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

README

mailer

A Golang Framework To Send Mail

forthebadge

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email struct {
	Charset    string
	Encoding   encoding
	Error      error
	SMTPServer *smtpClient
	DkimMsg    string
	// contains filtered or unexported fields
}

func (*Email) Attach

func (email *Email) Attach(file *File) *Email

type File

type File struct {
	FilePath string
	Name     string
	MimeType string
	B64Data  string
	Data     []byte
	Inline   bool
}

type SMTPClient

type SMTPClient struct {
	Client      *smtpClient
	KeepAlive   bool
	SendTimeout time.Duration
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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