Advertisement
Cavitt

Untitled

Mar 23rd, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. // Details
  4. $message = $_REQUEST['detail'];
  5.  
  6. // From
  7. $header="from: ".$_REQUEST['name']." <".$_REQUEST['customer_mail'].">";
  8.  
  9. // Enter your email address
  10. $to ='support@pcfixlimited.com';
  11.  
  12. $send_contact = mail($to, $header, $message, $header);
  13.  
  14. // Check, if message sent to your email
  15. if($send_contact){
  16.     echo "We've received your contact information";
  17. }
  18. else {
  19.     echo "ERROR";
  20. }
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement