public function getParamsForSingleSending($limit, $offset)
{
if (!$this->list) {
$this->getListing();
}
$listing = $this->list;
$containers = [];
for ($i = $offset; $i <= $limit; $i++) {
if (isset($listing[$i][$this->emailFieldName])) {
// as $listing is array type we can send all so every column can be used as placeholder in email
$containers[] = new SendingParamContainer($listing[$i][$this->emailFieldName], $listing[$i]);
}
}
return $containers;
}