title: customize amazons SES - remove amazonses.com
body: <p>I finally got SES to work, but now im confronted with another problem<br/>
  The email sent leaves <code>amazonses.com</code> in the <strong>from</strong> and <strong>mailed-by</strong> fields like this<br/>I am currently on sandbox access</p>
  <pre><code>from:    name@myDomain.com via amazonses.com 
  to:  john@aol.com
  date:    Sat, Jun 2, 2012 at 3:30 PM
  subject:     Subject message
  mailed-by:   amazonses.com
  </code></pre>
  <p><strong>question</strong>: how can i remove <code>amazonses.com</code> from these 2 fileds and replace the 'mailed-by' field with my companies email address?
  <br/><br/>
  heres my php</p>
  <pre><code>function sendMail($to, $subject, $message, $from ) {
      require_once('sdk-1.5.6.2/sdk.class.php');
      
      $AWS_KEY = &quot;********************&quot;;
      $AWS_SECRET_KEY = &quot;****************************************&quot;;
  
      $amazonSes = new AmazonSES(array( &quot;key&quot; =&gt; $AWS_KEY, &quot;secret&quot; =&gt; $AWS_SECRET_KEY ));
      
      $response = $amazonSes-&gt;send_email(
          $from,
          array('ToAddresses' =&gt; array($to)),
          array(
              'Subject.Data' =&gt; $subject,
              'Body.Html.Data' =&gt; $message,
          )
      );
  
      if (!$response-&gt;isOK()) {
          return false;
      }else {
          return true;
      }
      return false;
  }
  sendMail('john@aol.com', &quot;Body message&quot;, &quot;Subject message&quot;, &quot;name@myDomain.com&quot; );
  </code></pre>