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
content
A string of message content.
disposition
How content is presented (Content-Disposition).
encoding
How content is transformed to ASCII (Content-Transfer-Encoding).
Examples
Run this code# NOT RUN {
library(magrittr)
msg <- envelope() %>% text("Hello!")
# }
Run the code above in your browser using DataLab