I've sent an email with the Codeigniter (2.1.4) Email library, but the function send return true while I'm not getting the email ?! Here is the code : http://pastebin.com/rYdkr2VD.
$config = array(
'mailtype' => 'html',
'bcc_batch_mode' => true,
'bcc_batch_size' => 200
);
$this->load->library('email');
$this->email->clear(TRUE);
$this->email->initialize($config);
$this->email->from('xxxx@site.yyy', 'Site name');
$this->email->to('');
$this->email->bcc($emails); // array('wwww@site.yyy', 'zzzz@site.yyyy')
$this->email->subject($subject); // string
$this->email->message($content); // html content
if( !$this->email->send() ) {
die('Error!');
}
But if I introduce an email with the function "to", the email is sent to it but not to the bcc emails. Thank you in advance.