Pimcore\Document\Newsletter\AddressSourceAdapter\ReportAdapter::getMailAddressesForBatchSending PHP Méthode

getMailAddressesForBatchSending() public méthode

returns array of email addresses for batch sending
public getMailAddressesForBatchSending ( ) : SendingParamContainer[]
Résultat Pimcore\Document\Newsletter\SendingParamContainer[]
    public function getMailAddressesForBatchSending()
    {
        if (!$this->list) {
            $this->getListing();
        }
        $containers = [];
        foreach ($this->emailAddresses as $address) {
            $containers[] = new SendingParamContainer($address, ['emailAddress' => $address]);
        }
        return $containers;
    }