I have a question about php mail() function.
This function allows multiple recipients that separated by comma, for example:
$mailto="a@test.com,b@test.com,c@test.com";
mail($mailto,$subject,$message,$headers);
If all recipients address are correct, no problem, mail can be sent properly.
However if one address is no longer valid (for instance he leave company), this mail function then failed, those who have valid email address cannot receive email.
Is there a way to skip invalid address and let valid ones still receive email?
Any advice?