I\'m currently trying to get Symfony2/Swiftmailer to send the contents of a submitted form via mail. My parameters.yml contains the following:
mailer_transpo
Just spent the day on this very issue.
I prefer using straight configuration for this kind of thing, and I found this to work:
# app/config/services.yml services: swiftmailer.mailer.default.transport: class: Swift_SendmailTransport arguments: ['/usr/sbin/sendmail -t']