[symfony] action以外からsendEmailを実行する方法

|

Sending email from static class, (a difficult question i guess...) - symfony developers | Google グループ

sendEmailメソッドは、以下を実行する。
return $this->getController()->getPresentationFor($module, $action,
'sfMail'); 

したがって、action以外からsendEmailを実行したい場合は、以下のようにすればよい。
sfContext::getInstance()->getController()->getPresentationFor($module,
$action, 'sfMail');