title: SES integration in Magento with code
body: <p>Please help me to integrate ses in magento as i have tried below method for sending email.But not getting any of the email in my inbox or spam.sendEmail()is not sending email.I have tried both for localhost and on server neither of them sending an email.</p>
  
  <pre><code>    $config = array('auth' =&gt; 'login',
             'username' =&gt; '***************',
             'port'=&gt;587,
             'SMTP'=&gt;true,// SMTP
              'SMTPAuth'   =&gt; true,  // SMTP authentication
              'Mailer' =&gt; "smtp",
             'enable_starttls_auto' =&gt; true,
             'host'=&gt;"email-smtp.us-west-2.amazonaws.com",
             'password' =&gt; '**************************');
  
      ini_set('SMTP', Mage::getStoreConfig('system/smtp/host'));
      ini_set('smtp_port', Mage::getStoreConfig('system/smtp/port'));
      $ses = new SimpleEmailService($config);
      $m = new SimpleEmailServiceMessage();
      $m-&gt;addTo('xyz.test@gmail.com');
      $m-&gt;setFrom('xyz.test@gmail.com');
      $m-&gt;setSubject('You have got Email!');
      $m-&gt;setMessageFromString('Your message');
     if($ses-&gt;sendEmail($m)){
      echo "done";die;
     }
  </code></pre>
  
  <p>One of the try given me this error:-
  stdClass Object ( [error] => Array ( [curl] => 1 [code] => 60 [message] => SSL certificate problem: unable to get local issuer certificate [resource] => ) )</p>