mime_part.character {sendmailR}R Documentation

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

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, ...)

Arguments

x

Character string, possibly a filename.

name

Name of attachment.

...

Ignored.

Value

An S3 mime_part object.


[Package sendmailR version 1.2-1 Index]