# Packages
Package encoding provides a replacement encoder and decoder for use with mime.CharsetEncoder and mime.CharsetDecoder.
Package field provides low-level functions and types for working with individual header fields.
Package param provides a tool for dealing with parameterized headers.
# Functions
Parse will parse the given slice of bytes into an email header using the given line break string.
ParseAddressList provides the same address parsing functionality build into the GetAddressList() and GetAllAddressLists() and can be used to parse any field body.
ParseTime is a function that provides the time parsing used by GetTime() and GetDate() to parse dates to be used on any field body.
# Constants
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
\r - Commodores/old Macs linebreak.
\r\n - Network linebreak.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
\n - Unix/Linux/BSD linebreak.
\n\r - for weirdos.
Sometimes it doesn't matter.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
These are standard headers defined in RFC 5322.
UnixDateWithEarlyYear is a weird one, eh?.
# Variables
ErrIndexOutOfRange when an attempt is made to access a header field index that is too large or to small.
ErrManyFields is returned by Header methods when the operation being performed failed because the there are multiple fields with the given name.
ErrNoSuchField is returned by Header methods when the operation being performed failed because the header named does not exist.
ErrNoSuchFieldParameter is returned by Header methods when the operation being performed failed because the header exists, but a sub-field of the header does not exist.
ErrWrongAddressType is returned by address setting methods that accept either a string or an addr.AddressList when something other than those types is provided.
# Type aliases
Break represents the linebreak to use when working with an email.