mail

package
v1.0.10 Latest Latest
Warning

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

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

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
}

Jump to

Keyboard shortcuts

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