Advertisement
Guest User

Untitled

a guest
Mar 5th, 2012
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <?php
  2.  
  3. $name = $_POST['name'];
  4. $email = $_POST['email'];
  5. $phone = $_POST['phone'];
  6. $postal = $_POST['postal'];
  7. $newsletter = $_POST['newsletter'];
  8.  
  9. $subject = "FREE TRIAL INQUIRY";
  10. $headers = "From: ".$email;
  11. $body = "This person has requested a FREE TRIAL at the studio nearest them...
  12.  
  13. Name: $name
  14. Email: $email
  15. Phone: $phone
  16. Postal: $postal
  17. Newsletter: $newsletter";
  18.  
  19. mail($to, $subject, $body, $headers);
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement