Questions tagged [sendmailr]

Questions pertaining to using an SMTP client for sending email with R

The sendmailR package contains a simple client which provides a portable solution for sending email, including attachements, from within . Full documentation at CRAN

90 questions
1
vote
1 answer

sendmailR specify sender name

I am trying to specify a sender name while using sendmailR to send emails. I refer to this post(With sendmailR, how can I specify a recipient/sender name along with the address?), but it seems to me that the solution does not work properly, I got…
user2854008
  • 1,161
  • 4
  • 17
  • 23
1
vote
0 answers

Use sendmailR with Windows error

I am using sendmailR package to automate my email sending tasks. My code is like: require(sendmailR) from <- "test1@sample.com" to <- 'test2@sample.com' subject <- "Email Subject" body <- "Email body." …
user2854008
  • 1,161
  • 4
  • 17
  • 23
0
votes
1 answer

SendmailR attach pdf

I'm working with the sendmailR package and trying to attach a data.frame to the mail. The data.frame is rather large so the best way to attach it would be a pdf, a .txt file distorts the table so that the content is rather unread able. Is there a…
rainer
  • 929
  • 2
  • 14
  • 25
0
votes
0 answers

Email Unique Attachments to multiple recipients using 'sendmailR'

I am trying to use the 'sendmailR' library to read a data frame I have made, and then email each recipient their own individual attachment: library(sendmailR) library(readxl) # Read the XLSX file data <-…
0
votes
0 answers

How to iterate through the unread emails and save the attachments to a local folder in R?

As part of my job responsibilities, I have to open ~55 emails in each day and save the attachments to a local folder. I am tired of doing that manually in each day and looking for ways to automate this. I have found some suggestions through the web…
mzkrc
  • 219
  • 2
  • 7
0
votes
0 answers

R facing SMTP error when automating email

I am trying to automate sending emails with attachment using R. But I am facing errors. How do I solve this? Code: library(mailR) send.mail(from="", to="", subject="Test Email", body="Test Email", …
John peter
  • 144
  • 1
  • 11
0
votes
1 answer

R Session Aborted when loading mailR in R4.2.0

I have just updated to R4.2.0 (previously R3.2) and I now get R Session Aborted when loading the package on windows. Same error when running directly from R. Everything seems ok when I install the mailR package. I also updated all…
Samuel
  • 1
  • 1
0
votes
0 answers

r - cannot send mail to outlook via mailR

I am trying to send mail from R to outlook via mailR package, but I keep getting error whenever I try to run it. Here's my code : library(mailR) send.mail( from = "me@companydomain.com", to = c("coworker@companydomain.com"), subject =…
retrx22
  • 61
  • 1
  • 9
0
votes
1 answer

Save email to a local folder in R

I have a quite simple question. I am using sendmailR to send automatic emails, however i would like to make automatic archive of what has been sent out on local folder for the purpose of transparency. does anyone know how to do this?
luka12341
  • 1
  • 1
0
votes
0 answers

Rmarkdown footnote not rendering properly when using sendmailR and viewed in Office365

I've built a HTML document in Rmarkdown and used some footnotes. In R the rendering occurs correctly and I get nice tasty foonotes. However when i send using sendmailR...the footnote return symbol is garbled... Is this fixable? Any ideas why it's…
clancy
  • 182
  • 1
  • 3
  • 10
0
votes
1 answer

Frequent disabling of my SMTP/Sendmail service by hostinger

I have a hosting at Hostinger and my mail id configured is being repeatedly disabled by the host informing me that spam mail is being forwarded from my id. I have changed my password number of times and activated my mail but after a few moments, it…
0
votes
1 answer

How to avoid `"msg" is missing` error using sendmail in R?

When I try to use sendmail from the sendmailR package in R, I am getting this error: Error in .smtp_submit_mail(server, port, headers, msg, verbose) : argument "msg" is missing, with no default Here is the code I am trying to…
ben
  • 787
  • 3
  • 16
  • 32
0
votes
0 answers

Problems with mailR in shiny apps

When I upload my application in shiny apps and press the button to send mail, it does not work and the application is dropped could help me[the application doesn´t work observeEvent(input$sends,{ send.mail(from =…
0
votes
1 answer

How to attach a file of multiple extension in mailR (Rstudio)

I want to attach files of different extension to a mail. My some id has pdf file and some has excel file. So i generated the path for both type of files. But when i attach the files its give me a error attach.files must link to a valid file. which…
0
votes
1 answer

Problem in loading mailR package in R version 3.6.1

Since I've developed my R into 3.6.1, mailR package is not working anymore getting this error: there is no package called ‘R.utils’. Installing this package does not work either. Is there any way to fix it?