mail

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Subject string
	Html    string
}

type From

type From struct {
	Address string
	Name    string
}

type Mail

type Mail interface {
	Content(content Content) Mail
	From(address From) Mail
	To(addresses []string) Mail
	Cc(addresses []string) Mail
	Bcc(addresses []string) Mail
	Attach(files []string) Mail
	Send() error
	Queue(queue *Queue) error
}

type Queue

type Queue struct {
	Connection string
	Queue      string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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