I have a table that I am trying to get to clients via sendmailR
. I would like to stick to sendmailR
as well. Here is what I am trying to do.
from <- 'my email'
to <- 'my email'
subject <- paste("the subject",Sys.Date(),sep=" ")
sendmail(from, to, subject, str, control = list(smtpServer="the correct server sits here"))
Sorry for all the censoring. Just know that this same exact code used to work about 4 months ago when I originally built the script it's in. Now to the error.
Here's what I am getting :
Error in wait_for(code) : SMTP Error: 5.7.1 Client was not authenticated