Skip to content

Commit 2a0ea1c

Browse files
authored
Merge pull request #155 from ljwoodley/include_email_content
Include email content
2 parents 13abced + b3de437 commit 2a0ea1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/logging.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -689,9 +689,10 @@ send_email <-
689689
email_to <- unlist(strsplit(email_to, " "))
690690
}
691691

692+
email_content <- list(email_body)
693+
692694
if (!is.null(file_name)) {
693695
output_dir <- tempdir()
694-
email_content <- list()
695696

696697
if (!is.null(df_to_email) && is.data.frame(df_to_email)) {
697698
df_to_email <- list(df_to_email)

0 commit comments

Comments
 (0)