Sailthru_Client::processImportJobFromFile PHP Method

processImportJobFromFile() public method

Process import job from given file path of a CSV or email per line file
public processImportJobFromFile ( String $list, $file_path, boolean | String $report_email = false, boolean | String $postback_url = false, array $options = [] ) : array
$list String
$file_path
$report_email boolean | String
$postback_url boolean | String
$options array
return array
    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);
    }