src/Mime/Message.php
public function addInline($path, $name = null, $mime = true, $encoding = true)
    {
        $cid = static::generateId($this->client());
        $filename = basename($path);
        $this->_inlines[$path] = [
            'filename'    => $name ?: $filename,
            'disposition' => 'attachment',
            'mime'        => $mime,
            'headers'     => ['Content-ID: ' . $cid]
        ];
        return $cid;
    }
public function addInline($path, $name = null, $mime = true, $encoding = true)
    {
        $cid = static::generateId($this->client());
        $filename = basename($path);
        $this->_inlines[$path] = [
            'filename'    => $name ?: $filename,
            'disposition' => 'attachment',
            'mime'        => $mime,
            'headers'     => ['Content-ID: ' . $cid]
        ];
        return $cid;
    }
public function addInline ( $ path , $ name = null , $ mime = true , $ encoding = true ) { $ cid = static :: generateId ( $ this -> client ( ) ) ; $ filename = basename ( $ path ) ; $ this -> _inlines [ $ path ] = [ 'filename' => $ name ? : $ filename , 'disposition' => 'attachment' , 'mime' => $ mime , 'headers' => [ 'Content-ID: ' . $ cid ] ] ; return $ cid ; }
Add an embedded file.
Add an embedded file .