Skip to contents

body

Usage

body(sg_mail, body, type = "text/html")

Arguments

sg_mail

(required)mail object from package

body

(required)mail content html support.

type

content type. text/html is default.

Value

sg_mail class with body content.

Examples

mail() %>%
  body("mrchypark@gmail.com")
#> SendGrid Mail - 
#> ✖   from   : (required)
#> ✖   to     : (required)
#> ✖   subject: (required)
#> ✔   content: nchr[19] mrchypark@gmail.com
#> ✔   attach : (optional)