email

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Strip

func Strip(msg string) string

/ remove remarkable ads

func TrimAddresses

func TrimAddresses(address string) string

workaround for go < 1.15

Types

type EmailBuilder

type EmailBuilder struct {
	From    string
	To      string
	ReplyTo string
	Body    string
	Subject string
	// contains filtered or unexported fields
}

func (*EmailBuilder) AddFile

func (b *EmailBuilder) AddFile(name string, data []byte)

func (*EmailBuilder) Send

func (b *EmailBuilder) Send() (err error)

Jump to

Keyboard shortcuts

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