Hi,

I've implemented a Swiftmailer spool for Doctrine here: 
https://github.com/radutopala/TSSAutomailerBundle

Hope it helps someone :)

luni, 21 martie 2011, 14:27:17 UTC+2, Dator a scris:
>
> Hi!
>
> I'm currently thinking to implement the doctrine spool for Swiftmailer, 
> here are my firsts thoughts :
>
> config.yml
>
> swiftmailer:
>     transport:  smtp
>     encryption: ssl
>     auth_mode:  login
>     host:       smtp.gmail.com
>     username:   xxxxxxxx
>     password:   xxxxxxxx
>     spool:
>         type: orm # or odm
>         class: AcmeBundle/SpoolMail
>     logging: %kernel.debug%
>
> The SpoolMail class must implement the DoctrineSpoolMail (in 
> SwiftmailerBundle)
>
> interface DoctrineSpoolMail
> {
>     function getMessage();
> }
>
> With the class we can get the Repository to get all the spooled messages.
>
> The main "problem" is that you have to add AcmeBundle in the mappings 
> section (in odm or orm)
>
> Any thoughts about this implementation?
> Did i miss something ?
>
> Thanks ;)
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en

Reply via email to