<?php $recipients = ['aaa@b.com', 'bbbb@b.com', 'ccccc@b.com']; print_r($recipients); echo 'To: ' . array_shift($recipients) . PHP_EOL; foreach ($recipients as $r){ echo 'Cc: ' . array_shift($recipients) . PHP_EOL; } print_r($recipients);
You have javascript disabled. You will not be able to edit any code.