Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!Doctype html>
- <html>
- <body>
- <?php
- $name = $_POST['name'];
- $visitor_email = $_POST['email'];
- $message = $_POST['message'];
- ?>
- <?php
- $email_from = 'automail@jeairsoft.com';
- $email_subject = "New Form submission";
- $email_body = "You have received a new message from the user $name.\n". "Here is the message:\n $message". $to = "scooterprint@aol.com";
- $headers = "From: $email_from \r\n";
- $headers .= "Reply-To: $visitor_email \r\n";
- mail($to,$email_subject,$email_body,$headers) ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement