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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -