#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Marseille, PACA, FRANCE
    Posts
    1
    Rep Power
    0
    I would like to send an email confirmation order to the customer (total amount, detail of the cart, etc...)
    can you help me ??
    thank you !
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,646
    Rep Power
    4492
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
    <?php
    $msg = "Thank you for your ordern";
    $msg .= "You ordered: $productsn";
    $msg .= "Your total cost is: $totaln";
    $header = "From: $myname<$myemail>nReply-To: $myname<$myemail>";
    $subject = "Order Confirmation";
    mail($to,$subject,$msg,$header);
    ?>
    [/code]

Similar Threads

  1. sending email + multiple attachments using php
    By gbow in forum PHP Development
    Replies: 6
    Last Post: February 13th, 2004, 10:31 AM
  2. One confirmation email, two different forms
    By sisleysusie in forum PHP Development
    Replies: 3
    Last Post: January 26th, 2004, 11:26 PM
  3. email problems.
    By darkane in forum PHP Development
    Replies: 4
    Last Post: November 20th, 2003, 10:25 PM
  4. Replies: 2
    Last Post: November 5th, 2003, 04:18 PM
  5. PHP4/ Flash form = email results
    By autodefrost in forum PHP Development
    Replies: 0
    Last Post: October 24th, 2003, 10:04 AM

IMN logo majestic logo threadwatch logo seochat tools logo