This worked anyway. Cheers for the help.
$mail=array();
foreach ($email as $key => $value)
{
$value .= '@mysite.com';
echo $key .'=>'. $value.'<br />';
// send mail
(@mail($value, $subject, $content, $headers))?print 'Sending email to '.$value." was successful.<br>\n" : print 'Sending email to '.$value." failed.<br>\n";
echo '<br /><br />';
print_r($value);
//echo '<a href="mailto:'.$value.'">Mail</a>';
echo '<br /><br />';
$mail[] .= $value;
}
print_r($mail);
$to = '';
foreach ($mail as $key => $value)
{
echo $key .'=>'. $value.'<br />';
$to .= $value.', ';
}
echo $to.'<br /><br />';
echo '<p><a href="mailto:'.$to.'">Mail</a></p>';