From 49589921f03d4221ccd758a07f775f3264292760 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 10 Dec 2015 15:11:55 +0800 Subject: [PATCH] Mailer.php --- Mailer.php | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/Mailer.php b/Mailer.php index 80e22683..f8a89b34 100644 --- a/Mailer.php +++ b/Mailer.php @@ -20,25 +20,27 @@ '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 ) -- 2.39.2