mail

package
v0.0.0-...-722e3d4 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ISO2022JPB is ...
	ISO2022JPB = "=?ISO-2022-JP?B?"
	// ISO2022JPQ is ...
	ISO2022JPQ = "=?ISO-2022-JP?Q?"
	// UTF8B is ...
	UTF8B = "=?UTF-8?B?"
	// UTF8Q is ...
	UTF8Q = "=?UTF-8?Q?"
	// SHIFTJISB is ...
	SHIFTJISB = "=?SHIFT_JIS?B?"
	// SHIFTJISQ is ...
	SHIFTJISQ = "=?SHIFT_JIS?Q?"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Header mail.Header

Header is ...

func (Header) AddressList

func (h Header) AddressList(key string) ([]*mail.Address, error)

AddressList is ...

func (Header) Date

func (h Header) Date() (time.Time, error)

Date is ...

func (Header) DecodeAll

func (h Header) DecodeAll() Header

DecodeAll is ...

func (Header) Get

func (h Header) Get(key string) string

Get is ...

type Message

type Message struct {
	// contains filtered or unexported fields
}

Message is ...

func ReadMessage

func ReadMessage(r io.Reader) (*Message, error)

ReadMessage is ...

func (*Message) SetBodyDecoder

func (m *Message) SetBodyDecoder()

SetBodyDecoder is ...

Jump to

Keyboard shortcuts

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