Your code is using angled quotes instead of standard double quotes. That could be the issue.
also you shouldn't have that extra space inside the brackets. So for instance:
$RecipArray[$CurIndex ] = “email@example.com”;
$RecipArray[$CurIndex] = "firstname.lastname@example.org";