Results 1 to 2 of 2

Thread: [RESOLVED] send.php help

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2004
    Posts
    1,202

    Resolved [RESOLVED] send.php help

    Im needing help here please

    You see where it says Nobody <[email protected] and where it says No Subject well how do i get it so it shows the persons email address like showing in the email beside email address. Also for Subject id like it so say Order instead of No Subject

    PHP Code:
    <?PHP

    $sendto 
    "[email protected]";

    $from "$email";

    $message "DVD Order List:

    First Name:                                
    $firstname
    Last Name:                                
    $lastname
    Address Line One:                      
    $addressone
    Address Line Two:                      
    $addresstwo
    Post Code:                                 
    $postcode
    City:                                        
    $city
    Country:                                  
    $country
    Telephone Number:                  
    $telephone
    Email Address:                         
    $email

    --------------------------------------------------------------------------------------------

    DVD List:

    $dvd";

    mail($sendto$subject$message);
    echo 
    "Thanks for the order we will contact you soon";

    ?>
    Attached Images Attached Images  
    Last edited by Jamie_Garland; Jan 19th, 2007 at 08:03 PM.
    come back and mark your original post as resoved if your problem is fixed

    Jamie Garland

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: send.php help

    are you kidding me? you don't even have a "$subject" variable defined, what did you think that variable did when you called it in the function? make $subject equal to "order."

    and your email's message already displays the person's email correctly. whatever $email is set to will be displayed there, and in your case it was set to kjkj. you should be sending mail headers, though. look up the mail() function on php.net. since you're not specifying a from header, your emails are coming from an anonymous account on your host's server.

    i find it a little hard to even try helping people who show no effort of their own to make something work :/.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width