rpremraj / mailR

A utility to send emails from the R programming environment
http://rpremraj.github.io/mailR/
190 stars 57 forks source link

cant send email with images embedded in HTML #44

Open BayesyBrad opened 8 years ago

BayesyBrad commented 8 years ago

the workaround is fine, but goodness would this be a nice feature.

rpremraj commented 8 years ago

Indeed... I have not discovered any easy way to fix this yet.

SeeNewt commented 7 years ago

I just tried using the workaround with the latest version of rmarkdown, and it's throwing an error telling me to use rmarkdown::render instead of knitr::knit2html. However, when I try the workaround using render, it's not working for me. Can you post an updated workaround using render? Thanks!

statquant commented 7 years ago

same here

roududu commented 6 years ago

@SeeNewt

First off, create the HTML file from the R terminal (the important thing here is that options does not include "base64_images"

To turn off base64 encoding, you may use the option self_contained: no in the YAML metadata, e.g.

---
output: 
html_document: 
self_contained: no
---

Reference