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
2
votes
1 answer

Send emails based on data in tibble

I'm trying to iterate over tibble to send emails from each row and can't get it to work. Here is example: packages library(tidyverse) library(sendmailR) library(pander) First create table I want to include to email tbl <- tibble(A = c(1,2,3), …
Hakki
  • 1,440
  • 12
  • 26
2
votes
0 answers

kableExtra HTML Tables not Rendering Properly when using mailR package

I'm trying to use the mailR package to send HTML tables through email. When I render the markdown file the tables look like this: However, when I email it the tables lose the borders and look like this: Is there a way to ensure that the borders…
GregRousell
  • 997
  • 2
  • 13
  • 23
2
votes
0 answers

Rmarkdown html file as body of eamil using sendmailR package

I've created an html file using Rmarkdown. It is stored in my home directory. I'd like to use this file to create the body of an html email which I'll send with sendmailR package (sendmail() function). The problem is, I can't get the html to display…
rayfinkle
  • 65
  • 4
2
votes
0 answers

Can't load the mailR package in R

I would like to load mailR package in both my local rStudio and one run off an ec2 server. I get this error: > require(mailR) Loading required package: mailR Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname,…
ARB
  • 21
  • 3
2
votes
2 answers

Got an error while sending email via sendmailR

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,…
Tony
  • 83
  • 3
  • 10
2
votes
1 answer

Sending inline images using mailR

I am trying to embed a JPEG image created by R into an e-mail, with the intent of creating an automated daily e-mail that displays a chart with dynamic text. I was able to attach the image, and designating the contend ID; however, when I send the…
Bryan
  • 5,999
  • 9
  • 29
  • 50
2
votes
1 answer

issue using sendemailR

I am trying to use sendemailR package in R but I am getting an error I don't know how to fix. When trying the default parameters: library(sendmailR) from <- "your_email" to <- "your_email" subject <- "Test send email in R" body <- "It works!" …
2
votes
2 answers

Send Mail R and Socket Connections

I am attempting to use the SendMailR function, I have checked with our I.T. department that I am using the correct server and I have the right permissions to connect and they have sent emails via this server but not through R and I have also checked…
Methexis
  • 2,739
  • 5
  • 24
  • 34
1
vote
0 answers

Sending emails using RShiny app deployed on AWS

I have a RShiny App that I made for my client. There is a feature in the app where a user clicks the button and it sends a test email to the user. I am using sendmailR library. This feature works fine on my local system but when I deploy the app on…
Deepansh Arora
  • 724
  • 1
  • 3
  • 15
1
vote
1 answer

mailR Error - Sending email to the following server failed: smtp.gmail.com:587 - ShinyProxy / Docker / Ubuntu

I am currently trying to publish my Shiny app via ShinyProxy and Docker. Unfortunately, my app does not work after publishing - on the PC itself it works without any problems. One of my problems concerns the package "mailR". I get the following…
LePyka
  • 181
  • 8
1
vote
0 answers

Is there way to trigger a reactive event in a ShinyApp over the internet (e.g. trough an email)?

My friend and I are working in the development of a ShinyApp for our community. The purpose of the App is to create a distribution mailing list to share job opportunities. There are two tabs, a tab to subscribe/unsubscribe to the mailing list and a…
Anderson Arroyo
  • 327
  • 2
  • 13
1
vote
1 answer

sendmailR adding extra space in HTML body that ocasionally breaks HTML tags

I automated personalized reports for people on my team and it's working great! The only problem is that some of the emails occasionally have an extra space in the middle of the HTML body. Occasionally, these extra spaces are positioned such that…
torenunez
  • 120
  • 1
  • 8
1
vote
1 answer

Send formatted HTML table created using rmarkdown over Outlook from R

I have the following well formatted table created using rmarkdown and saved as table.rmd file. library(RDCOMClient) kable(mtcars[1:5, 1:6]) %>% kable_styling(bootstrap_options = c("striped", "hover", "condensed"), full_width = T,…
Geet
  • 2,515
  • 2
  • 19
  • 42
1
vote
0 answers

Having problems sending email from MailR for an Amazon email?

I've used MailR to automate and send mass emails easily and straightforward with my personal Gmail. However, using my Amazon email as been a problem and hasn't worked? My Amazon email is through outlook, but I've tried the host for outlook and…
Phillip Le
  • 17
  • 6
1
vote
1 answer

Gridlines for a table not showing in mail when using Kable for CSS

I am trying to send a mail via mailR and it is working fine. I have a Data Frame and I wanted to colour code specific cells. I used Kable() to format and I got the desired output and it is showing the way it should in Rstudio viewer. But while…