Learn R Programming

lares (version 4.4)

mailSend: Send Emails with Attachments (Sendgrid)

Description

This function lets the user send Emails with Attachments using Sendgrid

Usage

mailSend(body, subject, attachment = NULL, to = credentials$to,
  from = credentials$from, creds = NA, quite = FALSE)

Arguments

body

Character. Body for the email

subject

Character. Subject for the email

attachment

Vector. All objects which will be sent as attachment

to

Character. Email of the person who will recevie the email

from

Character. Email of the person who send the email

creds

Character. Credential's user (see get_credentials)

quite

Boolean. Keep quite or display messages?