Bonjour,

Je cherche à envoyer un mail "design" depuis un composant, en regardant dans la documentation :

http://www.symfony-project.org/cookbook/1_2/en/email


Sending emails from a task

The process is exactly the same as doing it from an action, with one little difference: You cannot use sfAction methods anymore.

You'll need to use get_partial() and get_component() functions in PartialHelper instead of sfAction::getPartial() and sfAction::getComponent() methods.
Effectivement, cette méthode doit être abstraite.

Comment utiliser les PartialHelper depuis un component ?

Merci de m'avoir lu...

Mathieu