title: Get Amazon SES Reporting in codeigniter php
body: <p>How we get Amazon SES Reporting in codeigniter php ?
   I am use this code but cant work in codeigniter</p>
  
  <pre><code>&lt;?php
      $client = SesClient::factory(array(
          'version'=&gt; 'latest',     
          'region' =&gt; REGION
      ));
  
      try {
           $result = $client-&gt;getSendStatistics([]);
           echo($result);
      } catch (Exception $e) {
           echo($e-&gt;getMessage()."\n");
      }
  
      ?&gt;
  </code></pre>
  
  <p>and follow this link 
  <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-usage-statistics-api.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-usage-statistics-api.html</a><br>
  But how it work in codeigniter? </p>