title: Amazon SES + PHP
body: <p>I'm trying to set up amazon SES with PHP. I've scoured the internet and the documentation for AWS PHP SDK but I only see outdated scripts on how to include the actual library and send e-mail. Does anyone here have a working script for using Amazon SES with PHP?</p>
  
  <p>This is the closest I've found to test the script but it doesn't work:</p>
  
  <pre><code>require 'src/aws.phar';
  use Aws\Common\Enum\Region;
  use Aws\Ses\SesClient;
  try {   
  $ses = SesClient::factory(array(
  'key'    =&gt; 'AKIAJ4ERVU6XXXXXXX',
  'secret' =&gt; 'kMgagzJmB4Xjw7UD+Md0KNgW+CTE2jCXXXXX/',
  'region' =&gt; Region::US_EAST_1
  ));
  
  $ses-&gt;verifyEmailIdentity( array(
  'EmailAddress' =&gt; 'jason@aol.com'
  ));
  
  }
  catch( Exception $e )
  {
  echo $e-&gt;getMessage();
  }
  </code></pre>