<? $mails = 3; //numero de mails que se rotarán $random = rand(1,$mails); $codigo = array(); $codigo[1]="[email protected]"; $codigo[2]="[email protected]"; $codigo[3]="[email protected]"; echo "$codigo[$random]"; ?>