require_once 'HTML/Template/Flexy.php';
$tmp_opts = array();
- if (isset($this->templateDir)) {
+ if (!empty($this->templateDir)) {
$tmp_opts['templateDir'] = $this->templateDir;
}
}
///$recipents = array($this->email);
$mailOptions = PEAR::getStaticProperty('Mail','options');
+ //print_R($mailOptions);exit;
$mail = Mail::factory("SMTP",$mailOptions);
$headers['Date'] = date('r');
if (PEAR::isError($mail)) {