Can some one please look at this code because it doesnt send two emails
PHP Code:
<?
$email = "First Name:\t$FirstName\nLast Name:\t$LastName\nE-mail Address:\t$Email\nDomain:\t$Domain\nBilling/Mailing Address:\t$Address\n\nIP:\t$REMOTE_ADDR\nBrowser:\t$HTTP_USER_AGENT\n\n";
$to = "orders@mydomain.com";
$subject = "Someone Ordered A Domain Name";
$mailheaders = "From: $FirstName $LastName <> \n";
$mailheaders .= "Reply-To: $email\n\n";
$email1 = "First Name:\t$FirstName\nLast Name:\t$LastName\nE-mail Address:\t$Email\nDomain:\t$Domain\nBilling/Mailing Address:\t$Address\n\nIP:\t$REMOTE_ADDR\nBrowser:\t$HTTP_USER_AGENT\n\n";
$to1 = "$Email";
$subject1 = "You Ordered A Domain Name";
$mailheaders1 = "From: L33Thost Billing <> \n";
$mailheaders1 .= "someone@someone.com\n\n";
mail($to, $subject, $email, $mailheaders);
mail($to1, $subject1, $email1, $mailheaders1);
?>