ez.gmail: Send mail with Gmail

View source: R/os.R

ez.gmailR Documentation

Send mail with Gmail

Description

Send mail with Gmail

Usage

ez.gmail(to, subject, htmlbody, attachment = NULL)

Arguments

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'

Value

returns nothing

Note

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.


jerryzhujian9/ezmisc documentation built on March 9, 2024, 12:44 a.m.