Ciao,
non capisco perche' il server invia solo la prima email (flight4all)
// SEND TO FLIGHT4ALL
$sendTo = "sales@flight4all.com";
$subject = "Flight4all TRIAL version REQUEST SERIAL";
$headers = "From: " . $_POST["address"] ." <" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
$message = "xxxx" . $_POST["comments"] . " requires the TRIAL version code of FLIGHT4ALL \r\n Flight4all automatic email";
mail($sendTo, $subject, $message, $headers);
/// SEND TO CUSTOMER
$sendTo2 = $_POST["email"];
$subject2 = "Flight4all TRIAL version";
$headers2 = "From: Flight4all.com <sales@fligh4all.com> \r\n";
$headers2 .= "Reply-To: <sales@fligh4all.com> \r\n";
$headers2 .= "Return-path: <sales@fligh4all.com>";
$message2 = "Dear " . $_POST["address"] ." \r\n thanks for chosing Flight4all airlines scanning software. \r\n In few hours you will receive the serial number for the trial version";
mail($sendTo2, $subject2, $message2, $headers2);
Potete aiutarmi? Qual e' la sintassi da usare?
Ciao
Manuel