Jump to content

mathan5481

New Members
  • Posts

    3
  • Joined

  • Last visited

mathan5481's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. sorry i dont understand.. can elaborate plz?
  2. i checked in few sites and added few lines, but it dont seems to work.. <?php $to = 'mathan5481@hotmail.com'; $Cc = '($_POST['email']) '; $subject = 'Order Form'; $msg = "<html><body> <b>Name : " . strip_tags($_POST['name']) . " </b><br><br> <b>Tel No. : " . strip_tags($_POST['phone']) . " </b><br><br> <b>E-Mail : " . strip_tags($_POST['email']) . " </b><br><br> <b>Address : " . strip_tags($_POST['add']) . " </b><br><br> <b>Messages : " . strip_tags($_POST['messages']) . " </b><br><br> </body> </html>"; // Make sure to escape quotes $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From <me@mysite.com>' . "\r\n"; mail($to, $Cc, $subject, $msg, $headers); ?>
  3. i need to send a copy of the form to the sender as well as to myself..i can receive email to my own email but not a copy to the sender... how do i go about it? plz help this is the code <?php $to = 'mathan5481@hotmail.com'; $subject = 'Order Form'; $msg = "<html><body> <b>Name : " . strip_tags($_POST['name']) . " </b><br><br> <b>Tel No. : " . strip_tags($_POST['phone']) . " </b><br><br> <b>E-Mail : " . strip_tags($_POST['email']) . " </b><br><br> <b>Address : " . strip_tags($_POST['add']) . " </b><br><br> <b>Messages : " . strip_tags($_POST['messages']) . " </b><br><br> </body> </html>"; // Make sure to escape quotes $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From <me@mysite.com>' . "\r\n"; mail($to, $subject, $msg, $headers); ?>
×
×
  • 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.