Currently, I use the following line to send emails with R.
system("curl --ssl-reqd smtp://smtp.test.com:587 --mail-from jan@test.com --mail-rcpt jan@test.com --upload-file email.txt --insecure -u user:password")
I would like to use the RCurl or Curl package to send this request natively from R. Is it possible to send requests using the smtp protocol with RCurl or Curl? I don't like to use the mailR package due to its RJava dependency. Thanks for your help!