Learn R Programming

gmailr (version 0.5.0)

attach_part: Attach an object to a mime message

Description

Attach an object to a mime message

Usage

attach_part(mime, body, ...)

attach_file(mime, filename, type = guess_media(filename), ...)

Arguments

mime
object to attach to
body
data to attach
...
additional arguments put into the attr field of the object
filename
name of file to attach
type
mime type of the attached file