Re[2]: [PHP] email templating system
| From: | adwinwijaya | Date: | Tue, 05 Oct 2004 02:07:05 +0000 |
| Subject: | Re[2]: [PHP] email templating system | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198639@lists.php.net to get a copy of this message | ||
Hello John,
Tuesday, October 5, 2004, 11:59:19 AM, you wrote:
JH> Yes, that is what you mean. fetch() is going to parse the smarty "email"
JH> template (where you have your IF, FOR, smarty variables, etc) and return
JH> the parsed template to you. Then you stick that into mail().
JH> If you want to use $email->send(), then you'll have to modify the smarty
JH> class or write a class that extends smarty and implements the send()
JH> method.
Oh .. that's right John, I just know that smarty has fetch() method :(
... thanks for your help :)
--
Best regards,
adwin