I am using Rmarkdown to create my newsletter. I have pared it down here to exemplify my issue. (Note I have used two accents `` instead of three ``` so the code blocks in the Rmarkdown will render correctly. I'm not aware of a way around this)
library(blastula)
library(Microsoft365R)
# turn the Rmarkdown file into an email object
email <- blastula::render_email("Newsletter.Rmd")
outlb <- Microsoft365R::get_business_outlook()
em <- outlb$create_email(email, subject="[Newsletter] Women in HPC at Purdue", to="brewer36@purdue.edu")
em$send()
When I send the email, the image for the twitter social_link is received as an attachment, and the image does not render in the body of the email.
P.S. Wonderful package, thank you for developing! The real benefit for me is being able to knit Rmarkdown files, because RStudio is where I create most of my publications and the text editor is very clean.
I am using Rmarkdown to create my newsletter. I have pared it down here to exemplify my issue. (Note I have used two accents `` instead of three ``` so the code blocks in the Rmarkdown will render correctly. I'm not aware of a way around this)
I send the email using this code:
When I send the email, the image for the twitter social_link is received as an attachment, and the image does not render in the body of the email.
P.S. Wonderful package, thank you for developing! The real benefit for me is being able to knit Rmarkdown files, because RStudio is where I create most of my publications and the text editor is very clean.