parcel_send | R Documentation |
Sends email from notifier object
parcel_send(email_data, type = "text", secret = NULL, sent = "sent-emails.rds")
email_data |
tibble outputted from note_create |
type |
Type of email. Either text or html. |
secret |
path to secret.json file |
sent |
Path for sent emails to be saved. You will need this later as a log of sent emails. |
# First let's generate a sample output from note_create sample_email <- data.frame(To = c("N. Bluth <lucille.bluth@gmail.com>", "G.O.B. <gob@imoscardotcom.com>"), From = c("Karthik Ram <karthik.ram@gmail.com>"), Subject = "This is the subject", Body = "This is the message") # Now send emails with ## Not run: parcel_send(sample_email, secret)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.