Zend\Mail\AddressList::addMany
Add many addresses at once
If an email key is provided, it will be used as the email, and the value as the name. Otherwise, the value is passed as the sole argument to add(), and, as such, can be either email strings or Address\AddressInterface objects.
Signature
public function addMany(array
$addresses )
Parameters
$addresses
— array
Returns
- AddressList