Hi
I have a problem with an email form
it doesn’t send me the message part of the form
just the name and the email
This is the form:
This is the php:
$field_name = $_POST;
$field_email = $_POST;
$field_message = $_POST;
$mail_to = '[email protected]';
$subject = 'Mensaje dejado en website www.cetem.com.mx'.$field_name;
$body_message = 'De: '.$field_name."n";
$body_message .= 'E-mail: '.$field_email."n";
$body_message .= 'Mensaje: '.$field_message;
$headers = 'De: '.$cf_email."rn";
$headers .= 'Responder: '.$cf_email."rn";
$mail_status = mail($mail_to, $subject, $body_message, $headers);
if ($mail_status) { ?>
}
else { ?>
}
?>
can you tell me what’s wrong?
Thanks