I want to send an attachment and write a message. Somehow it does not send the text. What I am doin' wrong?
text_content <- "Can you see that?"
html_msg = mime() %>%
to(send_to) %>%
from(send_from) %>%
html_body(text_content) %>%
subject(sb_to) %>%
attach_file(pathfile)
send_message(html_msg)