var $mail_method = 'SMTP';
var $cache_images = true;
-
+
var $bcc = false;
function Pman_Core_Mailer($args) {
if (!empty($ff->Core_Mailer['debug'])) {
$this->debug = $ff->Core_Mailer['debug'];
}
- $this->log("URL MAP");
- $this->log($this->urlmap);
+ //$this->log("URL MAP");
+ //$this->log($this->urlmap);
}
return array(
'mimetype' => $mt,
'ext' => $ext,
- 'contentid' => md5($file),
+ 'contentid' => md5($file), // mailer makes md5 cid's' -- cid with attachment-** are done by mailer.
'file' => $file
);
}
+
+
function log($val)
{
return;
}
if ($this->debug < 2) {
- echo '<PRE>' . $val. "\n";
+ echo '<PRE>' . print_r($val,true). "\n";
return;
}
$fh = fopen('/tmp/core_mailer.log', 'a');