Mailer.php
authorAlan Knowles <alan@roojs.com>
Thu, 10 Dec 2015 07:11:55 +0000 (15:11 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 10 Dec 2015 07:11:55 +0000 (15:11 +0800)
Mailer.php

index 80e2268..f8a89b3 100644 (file)
        'page' => $this,
                 // if bcc is property of this, then it will be used (BAD DESIGN)
        'rcpts' => array(),   // override recipients..
+       'template' => 'your_template.html',
+       
        //'bcc' => 'xyz@abc.com,abc@xyz.com', // string...
-       'contents'  => array(),    //  << keys must be trusted
+       //'contents'  => array(),    //  << keys must be trusted
                                 // if bcc is property of contents, then it will be used (BAD DESIGN)
-       'template' => 'your_template.html', 
-       'html_locale => 'en',              // always use the 'english translated verison'
-       'cache_images => true,           // -- defaults to caching images - set to false to disable.
-       'replaceImages => false,         // should images be replaced.
+       
+       //'html_locale => 'en',              // always use the 'english translated verison'
+      // 'cache_images => true,           // -- defaults to caching images - set to false to disable.
+      // 'replaceImages => false,         // should images be replaced.
         //'urlmap => array(             // map urls from template to a different location.
       //      'https://www.mysite.com/' => 'http://localhost/'
        //)
-       'locale' => 'en', // .... or zh_hk....
+      // 'locale' => 'en', // .... or zh_hk....
        
-       'attachments' => array(
-            array(
-              'file' => '/path/to/file', // file location
-              name => 'myfile.pdf', // (optional) - uses basename of file
-              mimetype : 
-            ), 
-        
+      // 'attachments' => array(
+     //       array(
+      //        'file' => '/path/to/file', // file location
+      //        name => 'myfile.pdf', // (optional) - uses basename of file
+      //        mimetype : 
+      //      ), 
+      //  
         //'mail_method' =>  'SMTP', // or SMTPMX
   
     )