title: Exit status code: 72 Unable to open a socket to Sendmail. Please check settings
body: <pre><code>$this-&gt;load-&gt;library('email');
  $this-&gt;config-&gt;load('email');
  $config['protocol'] = 'sendmail';
  $config['mailpath'] = '/usr/sbin/sendmail';
  $config['charset'] = 'iso-8859-1';
  $config['wordwrap'] = TRUE;
  $this-&gt;email-&gt;initialize($config);
  $this-&gt;email-&gt;from('vjdabur@gmail.com', 'vijay');
  $this-&gt;email-&gt;to('vjdabur@gmail.com');
  $this-&gt;email-&gt;subject('Email Test');
  $this-&gt;email-&gt;message('Testing the email class.');
  $this-&gt;email-&gt;send();
  echo $this-&gt;email-&gt;print_debugger();
  </code></pre>
  
  <p>I dont know what I have missed in above code, I have sendmail installed in my <code>usr/sbin/sendmail</code> path.I am trying to send mail in PHP <code>Codeigniter</code>.But I am getting </p>
  
  <blockquote>
    <p>Exit status code: 72  Unable to open a socket to Sendmail. Please check settings.</p>
  </blockquote>