From: Chris Date: Fri, 24 Aug 2012 06:19:22 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=68849d2610e0e7079b641a5aa1130f93aa37210f;p=Pman.Core Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 3cd10fe0..f266e6fc 100644 --- a/Mailer.php +++ b/Mailer.php @@ -3,6 +3,13 @@ /** * * code that used to be in Pman (sendTemplate / emailTemplate) + * + * template is in template directory subfolder 'mail' + * + * eg. use 'welcome' as template -> this will use templates/mail/welcome.txt + * if you also have templates/mail/welcome.body.html - then that will be used as + * the html body + * * * usage: * @@ -20,7 +27,8 @@ * -- eg. * To: ,, * - * ' + * + * if the file ' * * * $x->asData(); // returns data needed for notify?? - notify should really