[eluser]robertvn2k[/eluser]
Sometimes I have a problem in sending mail with attachments. I send only 1 mail with 3 attachments. But I received double (6 attachments).
Code:
$this->email->initialize($config);
$this->email->clear(TRUE);
$this->email->from($from_email, $from_name);
$this->email->to($to_email);
$this->email->bcc($bcc_email);
$this->email->subject($subject);
$this->email->message($message);
$this->email->attach('./pdf/file1.pdf');
$this->email->attach('./pdf/file2.pdf');
$this->email->attach('./pdf/file3.pdf');
$this->email->send();
Does anyone have any ideas?