Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29745

How to send hyperlink with mailR?

$
0
0

Example code:

library(mailR)

path='/Users/me/Downloads/file.xlsx'

send.mail(from = sender,
          to = recipients,
          subject = 'email with hyperlink',
          body = c(path),
          html = FALSE,
          inline = FALSE,
          smtp = list(host.name = a, port = b, 
                      user.name = c,            
                      passwd = d, ssl = TRUE),
          authenticate = TRUE,
          send = TRUE)

Is it possible to display the path as a hyperlink in the body of the email?


Viewing all articles
Browse latest Browse all 29745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>