mime_part_html | R Documentation |
Create a MIME part from a character string containing HTML. If the string matches a filename the file is read and inserted as an inline character MIME part.
mime_part_html(x, ...)
x |
Character string, vector/list of character strings or path to html file. |
... |
Ignored. |
An S3 mime_part
object.
## Not run: sendmail( from="from@example.org", to="to1@example.org", subject="inline HTML", msg=mime_part_html("Hello<br>World"), control=list(smtpServer="ASPMX.L.GOOGLE.COM") ) sendmail( from="from@example.org", to="to1@example.org", subject="inline HTML", msg=mime_part_html("out/report.html"), control=list(smtpServer="ASPMX.L.GOOGLE.COM") ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.