title: Reply-to - Send emails in codeigniter with gmail smtp
body: <p>I created a contact form in my website, and, for send the e-mails to website account (contact@mywebsite.com), I'm using gmail smtp, using the same e-mail that I'll receive the messages.</p>
  
  <p>So, users go to my website, click in contact page, fill the form with:
  Name, Email, Message.</p>
  
  <p>Than I send the email with the following code:</p>
  
  <pre><code>        $config = Array(
          'protocol' =&gt; 'smtp',
          'smtp_host' =&gt; 'ssl://smtp.googlemail.com',
          'smtp_port' =&gt; 465,
          'smtp_user' =&gt; 'contact@mywebsite.com',
          'smtp_pass' =&gt; 'mypass',
          'mailtype' =&gt; 'html',
          'charset' =&gt; 'utf-8'
      );
      $this-&gt;load-&gt;library('email', $config);
      $this-&gt;email-&gt;set_newline("\r\n");
  
      $email = $this-&gt;input-&gt;post('email');
      $name = $this-&gt;input-&gt;post('name');
      $msg = $this-&gt;input-&gt;post('msg');
      $this-&gt;email-&gt;to('contact@mywebsite.com');
      $this-&gt;email-&gt;reply_to($email); //User email submited in form
      $this-&gt;email-&gt;from($email, $name);
      $this-&gt;email-&gt;subject('Conctact form');
      $this-&gt;email-&gt;message($msg);
      if ($this-&gt;email-&gt;send())
      {
          return true;
      } else
      {
          echo $this-&gt;email-&gt;print_debugger();
          return false;
      }
  </code></pre>
  
  <p>The e-mail goes to my inbox in "contact@mywwebsite.com", I can read the message normally, but... when I click in "reply" instead of replying to the user that sent me the message, it replys to "me" (to contact@mywebsite.com).</p>
  
  <p>I already configured the reply_to, to reply to users address, not mine, but still goes to contact@mywebsite.com.</p>
  
  <p>How to fix this?
  Should I change something more in the code or in gmail settings?</p>
  
  <p>(PS.: I use gmail interface to read emails, directly from the site mail.google.com)</p>
  
  <p>Thanks, in advance.</p>
  
  <p>--
  Also, when I receive the e-mail, It shows:
  "From: 'Name in submitted form' "</p>
  
  <p>Not:
  "From: 'Name in submitted form' &lt;'email in submitted form'>"
  Like It should be.</p>