Learn R Programming

lares (version 4.7)

mailSend: Send Emails with Attachments (POST)

Description

This function lets the user send Emails with Attachments using MailGun

Usage

mailSend(from = "RMail ",
  to = "laresbernardo@gmail.com", cc = NA, bcc = NA,
  subject = "Mail from R", text = NA, html = NA, attachment = NA,
  quiet = FALSE, creds = NA)

Arguments

from, to, cc, bcc

Character. Emails

subject

Character. Subject for the email

text, html

Character. Text or HTML to send in the body

attachment

Character, plot or data.frame. Will send the file, plot as PNG or data.frame as CSV, respectively.

quiet

Boolean. Keep quite or display messages?

creds

Character. Credential's user (see get_credentials)

See Also

Other Tools: autoline, bindfiles, bring_api, db_download, db_upload, export_plot, export_results, get_credentials, get_currency, h2o_predict_API, h2o_predict_MOJO, h2o_predict_binary, h2o_predict_model, h2o_selectmodel, h2o_update, haveInternet, importxlsx, ip_country, iter_seeds, json2vector, listfiles, matrixwd, msplit, myip, pass, quiet, read.file, statusbar, try_require, updateLares, zerovar