mail

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Address string `json:"address"`
	Name    string `json:"name"`
}

Address def.

type Attach

type Attach struct {
	Name        string
	File        multipart.File
	ShouldUnzip bool
}

Attach def.

type Mail

type Mail struct {
	ToAddresses  []*Address `json:"to_addresses"`
	CcAddresses  []*Address `json:"cc_addresses"`
	BccAddresses []*Address `json:"bcc_addresses"`
	Subject      string     `json:"subject"`
	Body         string     `json:"body"`
	Type         Type       `json:"type"`
}

Mail def.

type Type

type Type uint8

Type for mail

const (
	TypeTextPlain Type = iota
	TypeTextHTML
)

Mail types

Jump to

Keyboard shortcuts

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