embed_rmd {sendgridr}R Documentation

Embeding Rmd on body with images.

Description

Embeding Rmd on body with images.

Usage

embed_rmd(sg_mail, input, ...)

Arguments

sg_mail

(required) mail object from package

input

(required) input file path to render for email.

...

extra params pass to emayili::render() function.

Examples


path <- system.file("extdata", "test.Rmd", package = "sendgridr")
mail() %>%
 embed_rmd(path)


[Package sendgridr version 0.6.1 Index]