system/libraries/Email.php
/**
		* Set and return attachment Content-ID
		*
		* Useful for attached inline pictures
		*
		* @param	string	$filename
		* @return	string
		*/
Set and return attachment Content-ID
Useful for attached inline pictures

@param        string  $filename
@return       string
Set and return attachment Content - ID Useful for attached inline pictures @param string $filename @return string
public function attachment_cid($filename)
		{
			for ($i = 0, $c = count($this->_attachments); $i < $c; $i++)
			{
				if ($this->_attachments[$i]['name'][0] === $filename)
				{
					$this->_attachments[$i]['multipart'] = 'related';
					$this->_attachments[$i]['cid'] = uniqid(basename($this->_attachments[$i]['name'][0]).'@');
					return $this->_attachments[$i]['cid'];
				}
			}
			return FALSE;
		}
public function attachment_cid ( $ filename ) { for ( $ i = 0 , $ c = count ( $ this -> _attachments ) ; $ i < $ c ; $ i ++ ) { if ( $ this -> _attachments [ $ i ] [ 'name' ] [ 0 ] === $ filename ) { $ this -> _attachments [ $ i ] [ 'multipart' ] = 'related' ; $ this -> _attachments [ $ i ] [ 'cid' ] = uniqid ( basename ( $ this -> _attachments [ $ i ] [ 'name' ] [ 0 ] ) . '@' ) ; return $ this -> _attachments [ $ i ] [ 'cid' ] ; } } return FALSE ; }
Set and return attachment Content-ID
 Useful for attached inline pictures
Set and return attachment Content - ID Useful for attached inline pictures