title: Why isn't the Codeigniter email class sending mail with sendmail?
body: <p>I'm attempting to send an email address out to registrants who register for my site however this section of my code is not running. I'm attempting to find out why. I've followed all the necessary documentation. I replaced this section with php's mail function for debugging to see if it'll send an email on my server and it will. Does anybody have any thoughts on what it could be?</p>
  
  <pre><code>// User was successfully created and the user needs to verify their account.
  // Send registered an email informing them how to validate their account.
  $this-&gt;load-&gt;library('email');
  $this-&gt;email-&gt;from('owner@owner.com', 'Owner Name');
  $this-&gt;email-&gt;to($post_email_address);
  $this-&gt;email-&gt;subject('Site Name Here Registration');
  $this-&gt;email-&gt;message('Thank you for registering for our site. Here is your registration key to activate your account: '.$registration_key.' Please click on the following link to activate your account.&lt;br /&gt;'.anchor('project-manager/login/verify/'.$registration_key, 'Click Here To Activate Your Account', ''));
  
  $this-&gt;email-&gt;send();
  </code></pre>
  
  <p>Here is the configurations for the email.com inside of the application/config directory.</p>
  
  <pre><code>&lt;?php 
  $config['protocol'] = 'sendmail';
  $config['mailpath'] = '/usr/sbin/sendmail';
  $config['charset'] = 'iso-8859-1';
  $config['wordwrap'] = TRUE;
  </code></pre>