title: Symfony2 Amazon SES SMTP Mail Setup
body: <p>I have a Symfony2 application that needs to use Amazon SES to send mails. I need to set this up using SMTP. For some reason my Symfony2 app has just not been able to send mails since I have put it live on the instance. It works perfectly on my local server and sends mail using gmail but on the live server niether gmail not Amazon SES works. My configurations are:</p>
  
  <pre><code>mailer_transport:  smtp
  mailer_host:       SMTPHOST
  mailer_encryption: tls
  mailer_auth_mode:  login
  mailer_user:       SMTPUSER
  mailer_password:   SMTPPASS
  mailer_port:       465
  </code></pre>
  
  <p>I have taken all three things SMTPHOST, SMTPUSER and SMTPPASS from the SES console online. But still the mails don't seem to go. I really don't want to setup a seperate mail server. I use Symfony2's pre-integrated Swiftmailer Library for sending all the email and so do the 3rd party bundles.</p>
  
  <p>I have no idea how to do this since this is the first time I'm using AWS. Any help would be greatly appreciated. Thanks!</p>