Hi, I need some help with email sending problem with Libraries Email.php :
Error displayed in Browser:
A PHP Error was encountered
Severity: Notice
Message: fwrite() [function.fwrite]: send of 547 bytes failed with errno=32 Broken pipe
Filename: libraries/Email.php
Line Number: 1482
controller/contact.php
function index()
{
parent::Controller();
$this->load->helper(array('url','html','form','date'));
$this->load->library('email');
$this->email->clear();
$config['protocol'] = 'sendmail';
$config['charset'] = 'iso-8859-1';
$config['wordwrap'] = TRUE;
$this->email->initialize($config);
$this->email->from($this->input->post('email'), 'Techindo Solution Center');
$this->email->to('support@iklanriau.com');
$this->email->subject($this->input->post('nama').'My Contact Subject');
$this->email->message($this->input->post('email_content'));
$this->email->send();
}
I have been confused arround with email sometimes send and sometimes show that error broken pipe.
Please help me anyone…
