View source: R/dynamic-templates.R
template_id | R Documentation |
Create dynamic templates at https://mc.sendgrid.com/dynamic-templates
template_id(sg_mail, template_id, force = FALSE)
sg_mail |
(required) mail object from package |
template_id |
(required) template_id start "d-" and 32-length only digit and lower case alphabet like "d-4ad23ad40a0e47d0a0232b85f24ca5c2" |
force |
pass template_id validation. default is FALSE. |
sg_mail class with template id.
mail()%>% template_id("d-4ad23ad40a0e47d0a0232b85f24ca5c2") mail() %>% template_id("foo", force = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.