send_email: Send email

Description Usage Arguments Details Author(s) Examples

View source: R/send_email.R

Description

This function allows you to send email through R

Usage

1
send_email(from, to, subject, body, cc, attachmentPath)

Arguments

from

sender email address, character (eg. "<[email protected]>")

to

receiver email address, character (eg. "<[email protected]>")

subject

subject of email, character

body

body part of email, character

cc

optional, carbon copy email, character (eg. c("<[email protected]>", "<[email protected]>"))

attachmentPath

optional, attachment path, needs full path if not in working directory (eg. c("OutPut File/log.txt"))

Details

For internal use only

Author(s)

Alfred, Ray

Examples

1
2
3
send_email("<[email protected]>", "<[email protected]>", "subject", "body", "<[email protected]>", c("Output File/log.txt")) 
send_email("<[email protected]>", "<[email protected]>", "subject", "body", c("Output File/log.txt"))
send_email("<[email protected]>", "<[email protected]>", "subject", "body")  

Alfred-Zhang/ResearchTools documentation built on Nov. 23, 2017, 1:54 a.m.