sailthru/Sailthru_Client.php
public function processImportJobFromFile($list, $file_path, $report_email = false, $postback_url = false, array $options = [ ]) {
        $data = [
            'file' => $file_path,
            'list' => $list
        ];
        return $this->processJob('import', $data, $report_email, $postback_url, [ 'file' ], $options);
    }
public function processImportJobFromFile($list, $file_path, $report_email = false, $postback_url = false, array $options = [ ]) {
        $data = [
            'file' => $file_path,
            'list' => $list
        ];
        return $this->processJob('import', $data, $report_email, $postback_url, [ 'file' ], $options);
    }
public function processImportJobFromFile ( $ list , $ file_path , $ report_email = false , $ postback_url = false , array $ options = [ ] ) { $ data = [ 'file' => $ file_path , 'list' => $ list ] ; return $ this -> processJob ( 'import' , $ data , $ report_email , $ postback_url , [ 'file' ] , $ options ) ; }
Process import job from given file path of a CSV or email per line file

@param String $list
@param $file_path
@param bool|String $report_email
@param bool|String $postback_url
@param array $options
@return array
Process import job from given file path of a CSV or email per line file