Skip to contents

Send email.

Usage

mm_send_mail(
  to,
  body,
  subject,
  cc = NULL,
  draft = FALSE,
  test = Sys.getenv("mailmerge_test", FALSE)
)

Arguments

to

The email to address

body

The email message, in markdown format

subject

The email subject

cc

The email cc address

draft

if TRUE sends a draft, otherwise sends the real email

test

If TRUE, doesn't send email but simply returns mime value, used for testing.

Value

An email message