title: Unable to send emails to other domain using amazon ses
body: <p>How to send mails through amazon simple email services.</p>
  
  <p>I have set up my <strong>amazon simple email services</strong> account for my domain and verified it, but I can only send emails to email ids related to my domain like <strong>username@mydomain.com</strong>. I am unable to send emails to other domains like <strong>username@gmail.com</strong>, <strong>username@yahoo.com</strong>, etc. Please Tell me if I have to do something related to my amazon web services account.</p>
  
  <pre><code>$config = Array(
        'protocol' =&gt; 'mail',
        'protocol' =&gt; 'smtp',
        'smtp_host' =&gt; email-smtp.us-east-1.amazonaws.com,
        'smtp_port' =&gt; 465,
        'smtp_user' =&gt; ##############,
        'smtp_pass' =&gt; ###########################,
        'mailtype'  =&gt; 'html', 
        'charset'   =&gt; 'iso-8859-1'
  );
  
  $this-&gt;load-&gt;library('email');
  $this-&gt;email-&gt;initialize($config);
  $this-&gt;email-&gt;set_newline("\r\n");    
  $this-&gt;email-&gt;from(user@mydomain.com, 'User');
  $this-&gt;email-&gt;to($to);  
  $this-&gt;email-&gt;subject($subject);
  $this-&gt;email-&gt;message($message);
  </code></pre>