I need to ask a simple question to anyone. Any clue will be much appreaciated!
Could you please tell me any reason why a php mail() may not be sent?
I am pretty sure all details entered are correct from $to to $headers etc.
Please, Francesco
Code is:
<?php  
if (array_key_exists('sendEmail', $_POST)) {
    $to = '[email protected],'.$_POST['email'].''; 
    $subject = 'bla bla';  
    $headers = 'From: [email protected]>\r\n"  
        ."Reply-To: $email';  
    $message = 'Dear '.$_POST['name']."\r\n\r\n"; 
    $message .= 'Your Booking Number is '.$_POST['ID']."\r\n";  
    $message .= 'Name ' .$_POST['title']. ' ' .$_POST['firstname']. ' ' .$_POST['lastname']."\r\n";  
    mail($to,$subject,$message,$headers); 
}
?>