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

index cff8592..4d2dc92 100644 (file)
        'page' => $this,
                 // if bcc is property of this, then it will be used (BAD DESIGN)
        'rcpts' => array(),    
-       'template' => 'your_template.html',  // must be in templates/mail direcotry.. -- name without the .html or .txt
+       'template' => 'your_template',
+                // must be in templates/mail direcotry..
+                // header and plaintext verison in mail/your_template.txt
+                // if you want a html body - use  mail/your_template.body.html
        
         // 'bcc' => 'xyz@abc.com,abc@xyz.com',  // string...
         // 'contents'  => array(),              //  << keys must be trusted