public function getCcTargets()
{
$targets = array();
if (trim($this->cc)) {
foreach (explode("\n", trim($this->cc)) as $cc) {
$ex = explode(', ', trim($cc));
if (isset($ex[1]) && (ctype_digit($ex[1]) || is_int($ex[1]))) {
$ex[1] .= ' ' . $ex[2];
unset($ex[2]);
}
$targets[] = explode(',', implode(',', $ex));
}
}
return $targets;
}