Type: | Package |
Title: | Creates a Friendly User Interface for Emails Sending in 'shiny' |
Version: | 0.1.0 |
Author: | Mohamed El Fodil Ihaddaden |
Maintainer: | Mohamed El Fodil Ihaddaden <ihaddaden.fodeil@gmail.com> |
Description: | Allows the user to generate a friendly user interface for emails sending. The user can choose from the most popular free email services ('Gmail', 'Outlook', 'Yahoo') and his default email application. The package is a wrapper for the 'Mailtoui' 'JavaScript' library. See https://mailtoui.com/#menu for more information. |
License: | MIT + file LICENSE |
Encoding: | UTF-8 |
LazyData: | true |
Imports: | htmltools, glue, utils |
RoxygenNote: | 7.1.0 |
URL: | https://github.com/feddelegrand7/mailtoR |
BugReports: | https://github.com/feddelegrand7/mailtoR/issues |
NeedsCompilation: | no |
Packaged: | 2020-06-20 11:42:56 UTC; THINKPAD L390 |
Repository: | CRAN |
Date/Publication: | 2020-06-25 11:50:05 UTC |
Create a friendly user interface for sending emails
Description
Create a friendly user interface for sending emails
Usage
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
if (interactive()) {
ui <- fluidPage(
mailtoR(email = "",
text = "click here to send an email"),
use_mailtoR()
)
server <- function(input, output){
}
shinyApp(ui, server)
}
Enable the MailtoUI javascript library
Description
The function activates the capabilities of the MailtoUI javascript library. The user needs to set it at the end of the shiny ui.
Usage
use_mailtoR()
Value
called for the side effect of activating the MailtoUI library
Examples
# Put the function at the bottom of the ui
use_mailtoR()