mime_part.character {sendmailR}R Documentation

Create an inline character MIME Part

Description

Create a MIME part from a character string. If the string matches a filename, a MIME part containing that file is returned instead.

Usage

## S3 method for class 'character'
mime_part(x, name, type = "text/plain", flowed = FALSE, ...)

Arguments

x

Character string, possibly a filename.

name

Name of attachment.

type

Content type of inline text. Defaults to "text/plain".

flowed

Should "format=flowed" be added to the content header.

...

Ignored.

Value

An S3 mime_part object.

See Also

mime_part_html for adding inline HTML


[Package sendmailR version 1.4-0 Index]