ocs_send_mail: Notifies the user of a mail share

View source: R/ocs.R

ocs_send_mailR Documentation

Notifies the user of a mail share

Description

Notifies the user of a mail share

Usage

ocs_send_mail(req, id, password = NULL)

Arguments

req

WebDAV request as returned by wd_connect

id

share id

password

password of the share if it is password protected

Value

invisible TRUE on success or FALSE on failure

Examples

## Not run: 
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")

## End(Not run)

rdav documentation built on Nov. 1, 2025, 3:01 a.m.