send_email | R Documentation |
Send email using emailjs service.
send_email( service_id, user_id, template_id, template_params = list(), access_token = NULL )
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. |
response() Return A response() object of httr, including response of emailjs server
You should allow EmailJS API for non-browser applications.
library(emailjsr) send_email("service_id", "user_id", "template_id", "access_token", list(name = "John Doe"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.