public function addImage($type, $name, $data)
    {
        $this->images[] = array(
            'type' => $type,
            'name' => $name,
            'content' => $data
        );

        return $this;
    }
public function addImage($type, $name, $data)
    {
        $this->images[] = array(
            'type' => $type,
            'name' => $name,
            'content' => $data
        );

        return $this;
    }
public function addImage ( $ type , $ name , $ data ) { $ this -> images [ ] = array ( 'type' => $ type , 'name' => $ name , 'content' => $ data ) ; return $ this ; }
Add images embedded in the message

@param string $type - the MIME type of the image - must start with "image/"
@param string $name - the Content-ID of the embedded image - use <img src="cid:THIS_VALUE"> to reference the image in your HTML content
@param string $data - base64 encoded image data

@return Message
Add images embedded in the message