html: Add an HTML body to a message object.
Description
Add an HTML body to a message object.
Usage
html(
msg,
content,
disposition = "inline",
charset = "utf-8",
encoding = "quoted-printable"
)
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() %>% html("<b>Hello!</b>")
# }
Run the code above in your browser using DataLab