Learn R Programming

emayili (version 0.4.4)

text: Add a text body to a message.

Description

Add a text body to a message.

Usage

text(
  msg,
  content,
  disposition = "inline",
  charset = "utf-8",
  encoding = "7bit"
)

Arguments

msg

A message object.

content

A string of message content.

disposition

How content is presented (Content-Disposition).

charset

How content is encoded.

encoding

How content is transformed to ASCII (Content-Transfer-Encoding).

Value

A message object.

See Also

html

Examples

Run this code
# NOT RUN {
library(magrittr)

msg <- envelope() %>% text("Hello!")
# }

Run the code above in your browser using DataLab