08-04-2018, 03:34 AM (This post was last modified: 08-04-2018, 03:38 AM by kvanaraj.)
(08-04-2018, 02:58 AM)InsiteFX Wrote: This is wrong.
PHP Code:
$this->load->library('email',$config);
Should be some thing like this
PHP Code:
$this->load->library('email');
// see the User's Guide for setting these. $config['protocol'] = 'sendmail'; $config['mailpath'] = '/usr/sbin/sendmail'; $config['charset'] = 'iso-8859-1'; $config['wordwrap'] = TRUE;
$this->email->initialize($config);
An Error Was Encountered
Exit status code: 1
Unable to open a socket to Sendmail. Please check settings.
Unable to send email using PHP Sendmail. Your server might not be configured to send mail using this method.