I have string that contains comma separated email addresses.
I need to add them to my mailer object ($mailin) using the addBcc method. The object supports method chaining.
I have tried to echo
in a for loop to achieve what I wanted but as expected, it did not work. It gave me 500 error.
Desired result;
$mailin = new Mailin('[email protected]', 'apikey');
$mails = "[email protected], [email protected]";
$mailin->
addBcc('[email protected]')->
addBcc('[email protected]')->
Thank you.