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)
--~--~---------~--~----~------------~-------~--~----~
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