Hi,

 

I am using sendmailR package to send mails from R. I am not able to make
carbon copy work properly. If I specify multiple recipients in to field,
then they all receive individual emails and not carbon copies

 

My sample code is 

 

require(sendmailR)

header <- list(cc="b.mali@abc.com")

to <- c("<v.naik@abc.com>","<j.nair@abc.com>","<a.jadhav@abc.com>")

from <- "toto@abc.com"

sendmail(from, to, "hello", "test", headers=header,
control=list(smtpServer="xyz.smtp.net"))

 

In above code, cc doesn't work. b.mali@abc.com never receives any email.
Also, recipients only see their email address in to field when they
receive email.

 

Is there a different and correct way to send carbon copy mails from R ?

 

Alok Jadhav

 


=============================================================================== 
Please access the attached hyperlink for an important el...{{dropped:8}}

