Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Multiple mailer services #4

Closed
yosmanyga opened this issue Mar 22, 2012 · 1 comment
Closed

Multiple mailer services #4

yosmanyga opened this issue Mar 22, 2012 · 1 comment

Comments

@yosmanyga
Copy link

Sometime it's necessary to have more than one mailer service. For example, one with spool to send newsletters. And another one without spool to send quick messages, like a contact form.

swiftmailer:
    quick:
        transport: %mailer_transport%
        host:      %mailer_host%
        username:  %mailer_user%
        password:  %mailer_password%
    queue:
        transport: %mailer_transport%
        host:      %mailer_host%
        username:  %mailer_user%
        password:  %mailer_password%
        spool:
            type: file
            path: /path/to/spool
@yosmanyga
Copy link
Author

Well, I found the 'swiftmailer.transport.real' service. This service allows me to send mails without spooling. Symfony2 is awesome!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant