Jump to content

tito502

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Posts posted by tito502

  1. Hi, I'm using a php script to send an email from a flash form on my website to my e-mail address. Now how can I send a thank you autoresponse email to the user once they have filled the form, here is the script I'm using

    <?php


    $sendTo = "myaddress@hotmail.com";
    $subject = " site reply";


    $headers = "From: " . $_POST["name"] ." ". $_POST["phone"] . "<" . $_POST["email"] .">\r\n";

    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";

    $headers .= "Return-path: " . $_POST["email"];


    $message = $_POST["message"];


    mail($sendTo, $subject, $message, $headers);

    ?>

    Thanks!!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.