Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Problem with message in email form

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32617
    ylex1
    Participant

    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

    #77060
    ylex1
    Participant

    jejeje…… :D thanks man!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.