Learn R Programming

emayili (version 0.4.4)

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

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

text

Examples

Run this code
# NOT RUN {
library(magrittr)

msg <- envelope() %>% html("<b>Hello!</b>")
# }

Run the code above in your browser using DataLab