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.m...@abc.com")

to <- c("<v.n...@abc.com>","<j.n...@abc.com>","<a.jad...@abc.com>")

from <- "t...@abc.com"

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

 

In above code, cc doesn't work. b.m...@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}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to