# using the field functions
msg = mime() %>%
from("james.f.hester@gmail.com") %>%
to("CRAN@R-project.org") %>%
text_body("Please don't reject my package")
# alternatively you can set the fields using mime, however you hav()e
# to use properly formatted MIME names
msg = mime(From="james.f.hester@gmail.com",
To="CRAN@R-project.org") %>%
html_body("<b>Please<\b> don't reject my package")
Run the code above in your browser using DataLab