Create a MIME part from a character string. If the string matches a filename, a MIME part containing that file is returned instead.
# S3 method for character
mime_part(x, name, type = "text/plain", flowed = FALSE, ...)
An S3 mime_part
object.
Character string, possibly a filename.
Name of attachment.
Content type of inline text. Defaults to "text/plain".
Should "format=flowed" be added to the content header.
Ignored.
mime_part_html
for adding inline HTML