title: Send email to confirm registration with FOSUserBundle
body: <p>I use FOSUserBundle to perform login/registration on my application.</p>
  
  <p>I want a new user to confirm his email by sending him a confirmation email.</p>
  
  <p>After reading the official documentation and different tutorials i have the same error : </p>
  
  <blockquote>
    <p>The check email page appear after i register a user but i don't receive the email.</p>
  </blockquote>
  
  <p>This is my configurations </p>
  
  <pre><code>#config/config.yml
  
  
  swiftmailer:
      transport: "%mailer_transport%"
      host:      "%mailer_host%"
      username:  "%mailer_user%"
      password:  "%mailer_password%"
      spool:     { type: memory }
  
  fos_user:
      db_driver:     orm                       
      firewall_name: main                      
      user_class:    VK\UserBundle\Entity\User 
      registration:
          confirmation:
              enabled: true
              from_email:
                  address: my_username@gmail.com
                  sender_name: Demo registration
      service:
          mailer: fos_user.mailer.twig_swift
  </code></pre>
  
  <p>And this is my parameters</p>
  
  <pre><code>config/parameters.yml
  
  parameters:
      mailer_transport: smtp
      mailer_host: smtp.gmail.com
      mailer_encryption: ssl
      mailer_user: my_username@gmail.com
      mailer_password: my_password
  </code></pre>
  
  <p>Please can some one help me solve this issue ? thank's</p>