src/FlexiPeeHP/Priloha.php
public static function addAttachmentFromFile($object, $filename)
    {
        return self::addAttachment($object, basename($filename),
                file_get_contents($filename), mime_content_type($filename));
    }
public static function addAttachmentFromFile($object, $filename)
    {
        return self::addAttachment($object, basename($filename),
                file_get_contents($filename), mime_content_type($filename));
    }
public static function addAttachmentFromFile ( $ object , $ filename ) { return self :: addAttachment ( $ object , basename ( $ filename ) , file_get_contents ( $ filename ) , mime_content_type ( $ filename ) ) ; }
Add Attachment from File

@param FlexiBeeRW $object
@param string     $filename

@return int      HTTP response code
Add Attachment from File