Learn R Programming

emayili (version 0.4.4)

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)

Arguments

msg

A message object.

Value

A formatted header string.