Advertisement
FirstPrinciple

Untitled

Feb 24th, 2020
608
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. <?php
  2. $name = $_POST['fullname'];
  3. $email = $_POST['workemail'];
  4. $phone = $_POST['phone'];
  5. $priority = $_POST['priority'];
  6. $formcontent=" From:$name \n From: $email \n Phone: $phone \n Priority: $priority \n ;
  7. $recipient = "contact@realwork.ai";
  8. $subject = "Contact Form";
  9. $mailheader = "From: $email \r\n";
  10. mail($recipient, $subject, $formcontent, $mailheader) or die("Error!");
  11. echo "Thank You!";
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement