mailtoR: Create a friendly user interface for sending emails

Description Usage Arguments Value Examples

View source: R/mailtoR.R

Description

Create a friendly user interface for sending emails

Usage

1
mailtoR(email, text, subject = NULL, cc = NULL, bcc = NULL, body = NULL)

Arguments

email

the emails of the recipients

text

the link text that will be displayed on the ui

subject

the subject of the email. Defaults to NULL

cc

the emails of the CC (carbon copy) recipients. Defaults to NULL

bcc

the emails of the BCC (blind carbon copy) recipients. Defaults to NULL

body

the body of the email. Defaults to NULL

Value

a user interface for sending emails

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if (interactive()) {



ui <- fluidPage(

    mailtoR(email = "",
    text = "click here to send an email"),
    use_mailtoR()

    )

server <- function(input, output){


}


shinyApp(ui, server)



}

mailtoR documentation built on July 1, 2020, 10:34 p.m.