Re: [symfony-users] Re: Unhappy: sending mails with layout

2010-08-23 Thread Georg
Hello, I created a plugin with this functionality (http://www.symfony-project.org/plugins/ggEmailPlugin). I am using it in a live project, and it works well in my settings. If you have time please give it a try and report any issues you may find. Georg Am 19.08.2010 23:18, schrieb Antoine S.:

Re: [symfony-users] Re: Unhappy: sending mails with layout

2010-08-21 Thread Alexandre Salomé
I don't find easy way to do that. Looks like rendering of a template is complicated when you want to specify a module. For example, this should work : public function executeSend() { $body->setTemplate('sendSuccess"); // .php ? $body = $this->getView()->render(); } But re

[symfony-users] Re: Unhappy: sending mails with layout

2010-08-19 Thread Antoine S.
Hi, I quiet like to use the dispatcher to send email. The listener will build the email. For the layout, I only use partial -renderPartial(), that can act as a layout because you can include other partial/component in a partial. Maybe with sfView or sfPHPView there is a way to render a complete