Skip to content

Commit

Permalink
tilpasning rapbaseConfig på nhn
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthon committed Jan 21, 2025
1 parent b593b53 commit 7b8dba2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/sendEmail.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 <email>)
to <- gsub(" ", "\\ ", to, fixed = TRUE)

Expand All @@ -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
)
)

Expand Down

0 comments on commit 7b8dba2

Please sign in to comment.