title: Mail is not sending in php
body: <p>I have followed one tutorial to send mail from php.</p>
  
  <pre><code> public function send_credentials($beneficiary_user){
  
    $this-&gt;load-&gt;library(‘email’);
    $email_config = Array(
          'protocol'  =&gt; 'smtp',
          'smtp_host' =&gt; 'ssl://smtp.googlemail.com',
          'smtp_port' =&gt; '465',
          'smtp_user' =&gt; 'app123testing@gmail.com',
          'smtp_pass' =&gt; 'apptesting',
          'mailtype'  =&gt; 'html',
          'starttls'  =&gt; true,
          'newline'   =&gt; "\r\n"
      );
      $this-&gt;email-&gt;from('app123testing@gmail.com', 'invoice');
      $this-&gt;email-&gt;to('anilapu@navaratan.com');
      $this-&gt;email-&gt;subject('Invoice');
      $this-&gt;email-&gt;message('Test');
  
      $this-&gt;email-&gt;send();
  
  }
  </code></pre>
  
  <p><em>What are the other settings i have to do to make it working</em>
  *After running echo $this->email->print_debugger();. I got*</p>
  
  <blockquote>
    <p>Unable to send email using PHP mail().  Your server might not be configured to send mail   using this method.<br /><pre>User-Agent: CodeIgniter
       Date: Sun, 9 Feb 2014 14:58:44 +0530
       From: "invoice" 
       Return-Path: 
       Reply-To: "app123testing@gmail.com" 
       X-Sender: app123testing@gmail.com
       X-Mailer: CodeIgniter
       X-Priority: 3 (Normal)
       Message-ID: &lt;52f74a4c41e32@gmail.com>
       Mime-Version: 1.0
       Content-Type: multipart/alternative; boundary="B_ALT_52f74a4c41e88"
        =?utf-8?Q?Invoice?=
        This is a multi-part message in MIME format.
        Your email application may not support this format.
       --B_ALT_52f74a4c41e88
       Content-Type: text/plain; charset=utf-8
       Content-Transfer-Encoding: 8bit
       Test
       --B_ALT_52f74a4c41e88
       Content-Type: text/html; charset=utf-8
       Content-Transfer-Encoding: quoted-printable
      Test
      --B_ALT_52f74a4c41e88--</pre></p>
  </blockquote>