Hi,
Well I don't see how this relates to ZF.
You should use
$html = $smarty->fetch('template.html');
$mail->setBodyHtml($html);http://smarty.php.net/manual/en/api.fetch.php http://framework.zend.com/manual/en/zend.mail.html-mails.html Regards, || Gunter Sammet wrote: > Hi all: > Just been wondering if there is a way to render a view for an html > email that is not used in the display. I'm currently using Smarty as > template engine integrated in the view. Now I would like to send out > html emails using templates but rendering them with the data the same > way I would do for displaying in the browser. > Any thoughts? > Thanks, > > Gunter >
