extractKeywordB: Extracts email with specified keyword in the email body text

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/extractKeywordB.R

Description

This function extracts email data with specific keyword in the body message

Usage

1
extractKeywordB(username, password, kw, nmail = -1)

Arguments

username

A character string of email address for example, "[email protected]"

password

A character string of password of the email address for example "xyz123"

kw

A character string of specific keyword that will be searched within subject line

nmail

An integer for the number of emails to extract, default is all emails (nmail=-1)

Details

Extracts emails matching the exact keyword kw in the body message

Value

n_message

Number of available email in the specified folder

data

The extracted data frame with the field unique id (uid), sender (from), receiver either direct or cc'd (to), subject of mail (subj), time stamp (datetime)

Author(s)

Jaynal Abedin

See Also

extractKeyword

Examples

1
2
3
4
5
6
7
8
## Not run: 
# To extract maximum 5 emails with the word "keyword" within body message
dat <-extractKeywordB(username="[email protected]",
                      password="password",
                      kw="keyword",
                      nmail=5)
 
## End(Not run)

edeR documentation built on May 29, 2017, 9:27 a.m.