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
adwinwijaya wrote:
$message = $email->>fetch('/templates/email.tpl');
JH> mail($to,$subject,$message);
no, This is not what I mean. I know about mail() function.
I just want to create email, but I want it like smarty, have if, for
etc in the email template.
Yes, that is what you mean. fetch() is go
AIL PROTECTED]>
JH> User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
JH> X-Accept-Language: en-us, en
JH> MIME-Version: 1.0
JH> To: adwinwijaya <[EMAIL PROTECTED]>
JH> CC: [EMAIL PROTECTED]
JH> References: <[EMAIL PROTECTED]>
JH> In-Reply-To: &l
adwinwijaya wrote:
Hello php-general,
Currently I use Smarty for page templating system, and I am happy with
this. But is there any way to produce a file with smarty instead of
displaying it as a page.
I want to use this as email templating, I want to create an email and
I have a template like smar
Hello php-general,
Currently I use Smarty for page templating system, and I am happy with
this. But is there any way to produce a file with smarty instead of
displaying it as a page.
I want to use this as email templating, I want to create an email and
I have a template like smarty and I want to
5 matches
Mail list logo