Go to the source code of this file.
Namespaces | |
FDL | |
Variables | |
$usage = new ApiUsage() | |
$to = $usage->addOptionalParameter("to", "email to send to") | |
$cc = $usage->addOptionalParameter("cc", "cc") | |
$bcc = $usage->addOptionalParameter("bcc", "bcc") | |
$subject = $usage->addOptionalParameter("subject", "subject") | |
$file = $usage->addOptionalParameter("file", "file (can be a file name or stdin") | |
$htmlmode = $usage->addOptionalParameter("htmlmode", "activacte htmlmode") | |
$from = getMailAddr($action->user->id) | |
$tmpfile = '' | |
$message = new \Dcp\Mail\Message() | |
$data = '' | |
if($file &&$file== 'stdin') elseif($file) | else |
if($file) if($subject==""&&$file) if($subject=="") | $err = sendmail($to, $from, $cc, $bcc, $subject, $message) |
$bcc = $usage->addOptionalParameter("bcc", "bcc") |
Definition at line 22 of file fdl_sendmail.php.
$cc = $usage->addOptionalParameter("cc", "cc") |
Definition at line 21 of file fdl_sendmail.php.
$data = '' |
Definition at line 40 of file fdl_sendmail.php.
if ($file) if ($subject==""&&$file) if ($subject=="") $err = sendmail($to, $from, $cc, $bcc, $subject, $message) |
Definition at line 78 of file fdl_sendmail.php.
Definition at line 24 of file fdl_sendmail.php.
$from = getMailAddr($action->user->id) |
Definition at line 31 of file fdl_sendmail.php.
$htmlmode = $usage->addOptionalParameter("htmlmode", "activacte htmlmode") |
Definition at line 25 of file fdl_sendmail.php.
$message = new \Dcp\Mail\Message() |
Definition at line 39 of file fdl_sendmail.php.
$subject = $usage->addOptionalParameter("subject", "subject") |
Definition at line 23 of file fdl_sendmail.php.
$tmpfile = '' |
Definition at line 38 of file fdl_sendmail.php.
$to = $usage->addOptionalParameter("to", "email to send to") |
Definition at line 20 of file fdl_sendmail.php.
Definition at line 17 of file fdl_sendmail.php.
if ($file &&$file== 'stdin') elseif ($file) else |
Definition at line 59 of file fdl_sendmail.php.