Re: [SMARTY] How to use Smarty to make mail templates and send them
| From: | messju mohr | Date: | Fri, 14 Nov 2003 10:09:54 +0000 |
| Subject: | Re: [SMARTY] How to use Smarty to make mail templates and send them | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10535@lists.php.net to get a copy of this message | ||
On Fri, Nov 14, 2003 at 12:46:51PM +0300, Zoran Knezevic wrote:
> Hi,
>
> I would like to make mail template using smarty and
> send it. I guess it is something like the "capture"
> function and then send variable as usual from php...
you just need to use $smarty->fetch() instead of display().
see: http://smarty.php.net/manual/en/api.fetch.php
> Is there any example arround?
>
> Thank you in advance.