I found the problem on why I was receiving the same email twice. There was a problem with the server. But I would like to know why Universal email code is written differently. On a pc with windows 7 pro and cs 4 I get this:
if ($LoopCount % $BurstSize == 0 && $CurIndex < sizeof($RecipArray[$RecipIndex])) {
but on a mac with snow leopard and cs 5 I get this:
if ($LoopCount % $BurstSize == 0 {
The second code does not work because it makes the confirm page to keep on loading and after a while it just stops working. Any ideas why?
and my is a little bit longer
if ($LoopCount % $BurstSize == 0 && $CurIndex < sizeof($RecipArray[$RecipIndex])) {