title: sending mail codeigniter don't work
body: <p>I have my small function very simple and after email, I receive the following error message:</p>
  
  <pre><code>Severity: error --&gt; Exception: Call to a member function from() on null
  </code></pre>
  
  <p>the function</p>
  
  <pre><code>public function index(){
      $this-&gt;load-&gt;helper('email');
      $this-&gt;email-&gt;from("soule.farouk@aef.info");
      $this-&gt;email-&gt;to('farouksoule@gmail.com');
  
      $this-&gt;email-&gt;subject('Email Test');
      $this-&gt;email-&gt;message('Testing the email class.');
  
      $this-&gt;email-&gt;send();
      log_message('Error', $CI-&gt;email-&gt;print_debugger());
  }
  </code></pre>