Learn R Programming

rdav (version 0.3.0)

ocs_send_mail: Notifies the user of a mail share

Description

Notifies the user of a mail share

Usage

ocs_send_mail(req, id, password = NULL)

Value

invisible TRUE on success or FALSE on failure

Arguments

req

WebDAV request as returned by wd_connect

id

share id

password

password of the share if it is password protected

Examples

Run this code
if (FALSE) {
r <- wd_connect("https://example.com/remote.php/dav/files/johndoe")

# add a password to a mail share and notify the user
ocs_modify_share(r, 12342, password = "super_secret")
ocs_send_mail(r, 12342, password = "super_secret")
}

Run the code above in your browser using DataLab