Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
fdl_sendmail.php File Reference

Go to the source code of this file.

Namespaces

namespace  FDL
 

Variables

 $to = GetHttpVars("to")
 
 $cc = GetHttpVars("cc")
 
 $bcc = GetHttpVars("bcc")
 
 $subject = GetHttpVars("subject")
 
 $file = GetHttpVars("file")
 
 $htmlmode = GetHttpVars("htmlmode")
 
 $from = getMailAddr($action->user->id)
 
 $themail = new Fdl_Mail_mime()
 
if($file &&$file!= 'stdin') else
 
 $err = sendmail($to, $from, $cc, $bcc, $subject, $themail)
 

Variable Documentation

$bcc = GetHttpVars("bcc")

Definition at line 23 of file fdl_sendmail.php.

$cc = GetHttpVars("cc")

Definition at line 22 of file fdl_sendmail.php.

$err = sendmail($to, $from, $cc, $bcc, $subject, $themail)

Definition at line 58 of file fdl_sendmail.php.

$file = GetHttpVars("file")

Definition at line 25 of file fdl_sendmail.php.

$from = getMailAddr($action->user->id)

Definition at line 28 of file fdl_sendmail.php.

$htmlmode = GetHttpVars("htmlmode")

Definition at line 26 of file fdl_sendmail.php.

$subject = GetHttpVars("subject")

Definition at line 24 of file fdl_sendmail.php.

$themail = new Fdl_Mail_mime()

Definition at line 32 of file fdl_sendmail.php.

$to = GetHttpVars("to")

Definition at line 21 of file fdl_sendmail.php.

if ($file &&$file!= 'stdin') else
Initial value:
{
if ($file = 'stdin') {
$out = "";
$line = true;
while ($line !== false) {
$line = fgets(STDIN);
$out.= "$line\n";
}
if ($htmlmode == "Y") $themail->setHTMLBody($out, false);
else $themail->setTxtBody($out, false);
}
}
if ($subject == "") $subject = basename($file)

Definition at line 42 of file fdl_sendmail.php.

← centre documentaire © anakeen - published under CC License - Dynacase