I want to send emails from R. This is what I have so far:
library(sendmailR) from <- \"eamil@example.com\" to <- \"email2@example.com\" subject <-
I just tried it out, and it worked for me.
My only differences were I used <> for the from and to:
from = "" to = ""
and my mail control was different, I used
control=list(smtpServer="ASPMX.L.GOOGLE.COM"))