-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmail-delegates.R
More file actions
executable file
·81 lines (65 loc) · 2.82 KB
/
Copy pathmail-delegates.R
File metadata and controls
executable file
·81 lines (65 loc) · 2.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
library(gmailr)
# addresses = read.csv("2017-delegates.csv", header = FALSE, stringsAsFactors = FALSE)[,1]
# addresses = read.csv("2017-workshop-attendees.csv", header = FALSE, stringsAsFactors = FALSE)[,1]
addresses = read.csv("test-addresses.csv", header = FALSE, stringsAsFactors = FALSE)[,1]
# mime() %>%
# from("satrday.cape.town@gmail.com") %>%
# subject("satRday: Workshop Preparation") %>%
# text_body('Hi!
#
# Get yourself prepared for two days of intense R learning. To make sure that everything runs smoothly, please get these installed and tested BEFORE you arrive:
#
# 1. R and RStudio;
# 2. Git.
#
# There are a few more important steps for the "Git with R" workshop. Find those here: https://tinyurl.com/jgljhqy.
#
# Also install some critical R packages:
#
# install.packages(c("shiny",
# "flexdashboard",
# "dplyr",
# "ggplot2",
# "leaflet",
# "devtools"))
#
# devtools::install_github("juliasilge/southafricastats")
#
# Please note: it is vital that you set up your system in advance. You cannot show up at with no preparation and keep up!
#
# Best regards,
# Andrew.') -> text_msg
mime() %>%
from("satrday.cape.town@gmail.com") %>%
subject("satRday: Select your Tutorial") %>%
text_body("Hi!
We're looking forward to meeting you and around 200 other R enthusiasts in Cape Town on Saturday 18 February.
Take a look at the technical programme to see what's in store for you (https://capetown2017.satrdays.org/#programme).
Most of the day will be a single stream of talks. However, we kick off with a choice of three tutorials (these will happen in parallel, so you need to choose one!). In order for us to allocate seating for those tutorials, please let us know which one you'd prefer to attend.
Your choices are:
1. Image processing and Tensorflow in R (Raymond Ellis and Greg Streatfield)
2. Redis + R = Multi-user R apps (David Lubinsky)
3. Shiny / R and Devops (Marko Jakovljevic)
Just reply with your selection. Choose carefully!
Best regards,
Andrew.") -> text_msg
# mime() %>%
# from("satrday.cape.town@gmail.com") %>%
# subject("satRday: Visualisation Challenge") %>%
# text_body("Hi,
#
# Just over a week to go before satRday Cape Town!
#
# We wanted to send out a reminder about the Visualisation Challenge (https://capetown2017.satrdays.org/#visualisation): stand a chance to win a Tableau license valued at R27 000.
#
# Don't miss the submission deadline on 14 February!
#
# Best regards,
# Andrew.") -> text_msg
# strwrap(as.character(text_msg))
httr::set_config(httr::config(ssl_verifypeer = 0L))
for (to in addresses) {
print(to)
text_msg$header$To = to
send_message(text_msg)
}