Hi ,
Please update the online user guide for email class
Code:
$filename = '/img/photo1.jpg';
$this->email->attach($filename);
foreach ($list as $address)
{
$this->email->to($address);
$cid = $this->email->attach_cid($filename);
$this->email->message('<img src='cid:". $cid ."' alt="photo1" />');
$this->email->send();
}
the example is wrong , $cid = $this->email->attach_cid() should be $cid = $this->email->attachment_cid();
thats make me confused , maybe will make other confused too ,
Thank you