Documentation

Swift_Mailer_RecipientIterator

Provides an abstract way of specifying recipients for batch sending.

Tags
author

Chris Corbyn

Table of Contents

hasNext()  : bool
Returns true only if there are more recipients to send to.
nextRecipient()  : array<string|int, mixed>
Returns an array where the keys are the addresses of recipients and the values are the names. e.g. ('foo@bar' => 'Foo') or ('foo@bar' => NULL).

Methods

hasNext()

Returns true only if there are more recipients to send to.

public hasNext() : bool
Return values
bool

nextRecipient()

Returns an array where the keys are the addresses of recipients and the values are the names. e.g. ('foo@bar' => 'Foo') or ('foo@bar' => NULL).

public nextRecipient() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results