What is the best way to send a mail with a body of rendered data?
In an action, do the following:
$body=$this->renderPartial('emailTemplate', $params, true);
Thx!