Hi
I have case with mail function
how to use looping addTo ZF2 mail method for send multiple recipients?
i try with foreach but not work, here my code
Thanks
Hi
I have case with mail function
how to use looping addTo ZF2 mail method for send multiple recipients?
i try with foreach but not work, here my code
Thanks
Use an array
as parameter for the method addTo
. See also the description at the documentation: “zend-mail – Messages: addTo”
Hi frosch thanks, it works!