In Symfony2 it is relatively simple to send emails via a spool file, however in Silex we don’t have a console. So we’ll have to make one and it’s very simple. First you need to have the Symfony2 Console component setup in your Silex project. The following console file is based on the example in […]
Tag Archives: Silex
Functional testing sending emails in Silex
1 August 2011 – 12:29 pm
We are slowly starting to fall in love with Silex the Micro Framework built using Symfony2 here at White October towers. Here is a quick code sample which shows how to test emails that are sent using Silex and Swiftmailer. I would recommend using this example app to get Silex and Swiftmailer setup if you […]