Hi

u can use
$this->getPartial('parial_name', array of arguments);

On Tue, Apr 28, 2009 at 3:58 PM, HAUSa <
[email protected]> wrote:

>
> I want to send a HTML e-mail. For that, I think it's best to create a
> partial template. But the e-mail is being sent from the action, so my
> question is: how do I load my template into the action and send it?
>
> Example:
> $template = sprintf([get_partial_template], $var1, $var2);
> mail($receiver, 'E-mail', $template)
> >
>


-- 
Regards,
Dheeraj

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to