title: symfony swiftmailer: mail not sent in prod-environment
body: <p>I have a symfony 2.8 app, with fosuserbundle implemented. In the <code>dev</code> environment, the registration confirm mails are sent, but not in the <code>prod</code> environment. There is no log message and the smpt configuration is correct.</p>
  
  <p>sf version: 2.8.1
  swiftmailer-bundle version: current (compatible with sf version; <code>2.*</code> in composer json)
  fosuserbundle: 1.3.5 (<code>*</code> in composer)</p>
  
  <p>dev-config:</p>
  
  <pre><code>imports:
      - { resource: config.yml }
  
  framework:
      router:
      resource: "%kernel.root_dir%/config/routing_dev.yml"
      #strict_requirements: true
      profiler: { only_exceptions: true }
  
  web_profiler:
      toolbar: true
      intercept_redirects: true
  
  assetic:
      use_controller: true
  </code></pre>
  
  <p>Has anyone the same problem?</p>
  
  <p><strong>edit</strong></p>
  
  <p>I just tried a mail with the following console command in <code>prod</code> env: <code>php sf --env=prod swiftmailer:email:send</code></p>
  
  <p>Terminal output: </p>
  
  <pre><code>#!/usr/bin/env php
  From: test@antondachauer.de
  To: mail@antondachauer.de
  Subject: test
  Body: test
  Sent 1 emails
  </code></pre>
  
  <p>But the mail has not been sent. In the <code>dev</code> env, it works also in terminal.</p>