Documentation ¶
Overview ¶
Package mime reads the structure of a multipart mail message without reading the complete message into memory.
Index ¶
Constants ¶
View Source
const (
// DepthLimit is the maximum supported depth of multipart MIME tree
DepthLimit = 256
)
Variables ¶
View Source
var ( // ErrDepthLimitExceeded is reported if the MIME message exceeds DepthLimit ErrDepthLimitExceeded = errors.New("maximum depth of multipart MIME tree exceeded") // ErrTooManyParts is reported when a message contains too many MIME parts ErrTooManyParts = errors.New("multipart MIME has too many parts") )
Functions ¶
This section is empty.
Types ¶
type ErrBadHeader ¶
type ErrBadHeader string
ErrBadHeader is an error that indicates a problem with a MIME Header line.
func (ErrBadHeader) Error ¶
func (e ErrBadHeader) Error() string
Click to show internal directories.
Click to hide internal directories.