Skip to content
Advertisement

send email to multiple recipient don’t work

I try to send email to multiple recipient but doesn’t work. It work when I only send it to one recipient. I put the email address in an array variable.

I put the email I get from database in array variable $dt. Here is the $dt contain

JavaScript

I’ve try this one

JavaScript

I don’t know why its not work when I using more than 1 email recipient. Can anyone help me??

Advertisement

Answer

Try to add each mail recipient inside a loop, like this :

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement