DataObjects/core.sql
[Pman.Core] / Mailer.php
index 78229e2..ef21217 100644 (file)
@@ -113,23 +113,16 @@ class Pman_Core_Mailer {
             
               
         }
-        
         $tmp_opts['nonHTML'] = true;
-        
+        // $tmp_opts['force'] = true;
         $template = new HTML_Template_Flexy(  $tmp_opts );
         
         $template->compile('mail/'. $templateFile.'.txt');
         
         /* use variables from this object to ouput data. */
         $mailtext = $template->bufferedOutputObject($content);
-        
-        
-        
-        
-        
-        
-        
-        
+        //print_r($mailtext);exit;
+       
         
         
         //echo "<PRE>";print_R($mailtext);
@@ -172,14 +165,11 @@ class Pman_Core_Mailer {
                     $cdata['contentid']
                 );
             }
-            print_r($parts);exit;
             $parts[2] = $mime->get();
             $parts[1] = $mime->headers($parts[1]);
         
         }
         
-        //print_r($parts);exit;
-        
        // list($recipents,$headers,$body) = $parts;
         return array(
             'recipents' => $parts[0],