format.mime: Format the header of a MIME object.
Description
The header must conform to the SMTP Protocol (https://tools.ietf.org/html/rfc821). Specifically, lines should be
terminated by CRLF (not just LF).
Usage
# S3 method for mime
format(msg)
Value
A formatted header string.