send_email {emailjsr} | R Documentation |
send_email
Description
Send email using emailjs service.
Usage
send_email(
service_id,
user_id,
template_id,
template_params = list(),
access_token = NULL
)
Arguments
service_id |
emailjs.com Service Id |
user_id |
emailjs.com User Id or Public Key |
template_id |
emailjs.com Template Id |
template_params |
Params passed to emailjs.com. You should set template at emailjs.com in prior. |
access_token |
emailjs.com Access Token or Private Key. Default is NULL in case of you don't use access token. |
Value
response() Return A response() object of httr, including response of emailjs server
Note
You should allow EmailJS API for non-browser applications.
Examples
library(emailjsr)
send_email("service_id", "user_id", "template_id", "access_token", list(name = "John Doe"))
[Package emailjsr version 0.0.2 Index]