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

index 0c58fb0..e503a78 100644 (file)
  *  $x= new Pman_Core_Mailer($opts)
  *
  *  $x= Pman_Core_Mailer(array(
-       'page' => 
-       'contents'  => $this,    //  << keys must be trusted
+       'page' => $this,
+                // if bcc is property of this, then it will be used (BAD DESIGN)
+       'rcpts' => array(),   // override recipients..
+       //'bcc' => array(),
+       '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'
@@ -28,7 +31,7 @@
       //      'https://www.mysite.com/' => 'http://localhost/'
        //)
        'locale' => 'en', // .... or zh_hk....
-       'rcpts' => array(),   // override recipients..
+       
        'attachments' => array(
             array(
               'file' => '/path/to/file', // file location