diff --git a/R/smtp_send.R b/R/smtp_send.R index e45f8bc9..32694b28 100644 --- a/R/smtp_send.R +++ b/R/smtp_send.R @@ -249,10 +249,9 @@ smtp_send <- function(email, `-to` = to, `-cc` = cc, `-bcc` = bcc, - `attach` = no_options(), - `-file` = tempfile_, - `-mime-type` = "text/html", - `-inline` = no_options() + `body` = no_options(), + `-file` = tempfile_, + `-mime-type` = "text/html" ) # Create the vector of arguments related to file attachments