mail

package
v0.0.0-...-a96ba29 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	From    mail.Address
	Subject string
	To      mail.Address
}

type Mail

type Mail interface {
	SendMessage() error
}

func NewEmail

func NewEmail(header Header, content string, plainText bool) Mail

type Message

type Message struct {
	Header    Header
	Content   string
	PlainText bool
}

func (Message) SendMessage

func (msg Message) SendMessage() error

Jump to

Keyboard shortcuts

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