mime_part.character: Create an inline character MIME Part

View source: R/mime_part.R

mime_part.characterR 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


sendmailR documentation built on Jan. 12, 2023, 5:10 p.m.