Description Details Author(s) Examples
This package allows user to connect with Gmail server through IMAP and extract email header information
from, to, cc, subject, and datetime. User can extract email data from any specific folder or label using the argument folder
.
To access "Drafts" and "Sent Mail" we need to input the argument as "[Gmail]/Drafts" and "[Gmail]/Sent Mail". Moreover user can search email with specific keyword in subject line or in emiail body message.
Package: | edeR |
Type: | Package |
Depends: | rJava, rjson, rJython |
System dependency: | Java runtime environment |
Version: | 1.0.0 |
Date: | 2014-02-17 |
License: | GPL-2 |
Jaynal Abedin
Maintainer: Jaynal Abedin <joystatru@gmail.com>
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 | ## Not run:
# Extract maximum 5 emails from the specified folder.
# User needs to provide his/her valid Gmail address and password.
dat1 <- extractMbox(username="username@gmail.com",
password="password",
folder="foldar",
nmail=5)
# To extract maximum of 5 emails from inbox between June 6, 2013 to June 6, 2013
dat2 <- extractBetween(username="username@gmail.com",
password="password",
folder="inbox",
startDate="06-Jun-2013",
endDate="06-Jun-2013",
nmail=5)
# To extract maximum 5 emails with the word "keyword" within subject line
dat3 <-extractKeyword(username="username@gmail.com",
password="password",
kw="keyword",
nmail=5)
# To extract maximum 5 emails with the word "keyword" within body message
dat4 <-extractKeywordB(username="username@gmail.com",
password="password",
kw="keyword",
nmail=5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.