my @recepient = qq("nafroz\@sunamerica.com","sdas\@sunamerica.com"); ... $smtp->to($recepient[0], $recepient[0]);