On Fri, Oct 3, 2008 at 5:06 PM, freakx0 <[EMAIL PROTECTED]> wrote:

> How is the best way to send mails (text/plain, html) in actions with
> an layout (layouts/mail.php)?

You can set the content of an action as a mime part of your email
using the getPresentationFor method of sfController. Then just
configure your action to use a dedicated email layout.

++

-- 
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67

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