title: Symfony2 Swiftmailer Not Sending
body: <p>I am having trouble sending emails with symfony2 and swiftmailer. I am also a bit lost on how to debug this issue. Below is the code. First I am creating a form to display. On submit (request->method == post) I then try to send the email. I am getting no errors and it is taking me to the thankyou page, however, I am not receiving any email. I have tested on prod and dev. In dev I have opened the profiler after submission and it shows 0 emails. Any help is appreciated! Thanks!</p>
  
  <pre><code>public function contactAction(Request $request)
  {
      $defaultData = array('name' =&gt; 'Name', 'email' =&gt; 'Email', 'subject' =&gt; 'Subject', 'message' =&gt; 'Message');
      $form = $this-&gt;createFormBuilder($defaultData)
          -&gt;add('name', 'text')
          -&gt;add('email', 'email')
          -&gt;add('subject', 'text')
          -&gt;add('message', 'textarea')
          -&gt;getForm();
  
      if($request-&gt;getMethod() == 'POST') {
          $form-&gt;bindRequest($request);
          $data = $form-&gt;getData();
          $message = \Swift_Message::newInstance()
              -&gt;setSubject($data['subject'])
              -&gt;setFrom('no-reply@mysite.com')
              -&gt;setTo('email@mysite.com')
              -&gt;setBody($this-&gt;renderView('AdaptiveSiteBundle:Default:email.txt.twig', array('name' =&gt; $data['name'], 'message' =&gt; $data['message'])))
          ;
          $this-&gt;get('mailer')-&gt;send($message);
  
          return $this-&gt;redirect($this-&gt;generateUrl('thankyou'));
      } 
  
      return array("form" =&gt; $form-&gt;createView());
  }
  </code></pre>