From 7b8dba21f25110b08065c7fb4c7fa42bcfa4de08 Mon Sep 17 00:00:00 2001 From: kevinthon Date: Tue, 21 Jan 2025 13:57:30 +0100 Subject: [PATCH] =?UTF-8?q?tilpasning=20rapbaseConfig=20p=C3=A5=20nhn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- R/sendEmail.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/sendEmail.R b/R/sendEmail.R index 676ddd7b..5e5572f8 100644 --- a/R/sendEmail.R +++ b/R/sendEmail.R @@ -23,7 +23,7 @@ sendEmail <- function(conf, to, subject, text, attFile = NULL) { # nocov start - from <- conf$network$sender + from <- conf$sender # escape spaces (e.g. when full name is added to ) to <- gsub(" ", "\\ ", to, fixed = TRUE) @@ -36,8 +36,8 @@ sendEmail <- function(conf, to, subject, text, attFile = NULL) { sendmailR::sendmail( from, to, subject, body, control = list( - smtpServer = conf$network$smtp$server, - smtpPortSMTP = conf$network$smtp$port + smtpServer = conf$smtp$server, + smtpPortSMTP = conf$smtp$port ) )