Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Details
- $message = $_REQUEST['detail'];
- // From
- $header="from: ".$_REQUEST['name']." <".$_REQUEST['customer_mail'].">";
- // Enter your email address
- $to ='support@pcfixlimited.com';
- $send_contact = mail($to, $header, $message, $header);
- // Check, if message sent to your email
- if($send_contact){
- echo "We've received your contact information";
- }
- else {
- echo "ERROR";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement