ez.gmail | R Documentation |
Send mail with Gmail
ez.gmail(to, subject, htmlbody, attachment = NULL)
to |
email address, if multiple seperated by comma |
subject |
'Gmail from R' |
htmlbody |
'<b>Gmailr</b> is a <i>very</i> handy package!' or 'Email using R.' |
attachment |
default NULL, 'BazaarQueriesforURLData.txt' |
returns nothing
updated gmailr requires rlang >= 0.4.0, which would mess up dplyr As of rlang 0.4.0, dplyr must be at least version 0.8.0. dplyr 0.7.4 is too old for rlang 0.4.2.
1) first-time use: https://github.com/r-lib/gmailr#setup https://github.com/r-lib/gmailr/issues/143
2) Tell gmailr where the JSON lives Call gmailr::gm_auth_configure(path = "path/to/downloaded/json") call gmailr::gm_auth() to start the OAuth flow to verify to google that you would like your gmailr project to have access to your email. You will get a scary warning about an untrusted application, this is because the application is the one you just created, click advanced and Go to gmailr to proceed to do the oauth flow.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.