r - mailR: How to supress Java-Object message after sending email? -
i'm using code below send authenticated email documented in https://github.com/rpremraj/mailr.
everything works looking suppress java-object message below once it's sent won't run via batch file.
is possible?
[1] "java-object{org.apache.commons.mail.multipartemail@6b09bb57}"
send.mail(from = "sender@gmail.com", = c("recipient1@gmail.com", "recipient 2 <recipient2@gmail.com>"), replyto = c("reply else <someone.else@gmail.com>") subject = "subject of email", body = "body of email", smtp = list(host.name = "smtp.gmail.com", port = 465, user.name = "gmail_username", passwd = "password", ssl = true), authenticate = true, send = true)
thanks lukaa!!
wrap send.mail(...) in invisible() did trick!!
Comments
Post a Comment