Accepts a message object and formats it as a MIME document.

# S3 method for envelope
as.character(x, ..., details = TRUE, encode = FALSE)

Arguments

x

A message object.

...

Further arguments passed to or from other methods.

details

Whether or not to display full message content.

encode

Whether to encode headers.

Value

A formatted message object.