SimpleExcel.php
[Pman.Core] / Tests / Mailer.php
index 35b79c5..f1fa65e 100644 (file)
@@ -26,7 +26,7 @@ class Pman_Core_Tests_Mailer extends Pman
         
     }
     
-    function get($q, $opts)
+    function get($q,  $opts=array())
     {
         // send a test email to me...
         $this->rcpts = $opts['to'];
@@ -44,7 +44,7 @@ class Pman_Core_Tests_Mailer extends Pman
             'attachments' => array(
                 array(
                
-                    'file' => '/home/alan/Documents/Nestplaytimespjadcover.pdf',
+                    'file' => '/home/alan/Documents/Nestplaytimespjadcover.pdf', // pass the file path DO NOT pass the file content
                     'name' => 'Nestplaytimespjadcover.pdf',
                     'mimetype' => 'application/pdf'