public function send_mail() { oc::send_mail($_REQUEST['subject'], $_REQUEST['text'], $_REQUEST['from'], $_REQUEST['sender'], isset($_REQUEST['conf']) ? (bool) $_REQUEST['conf'] : false); }