/ Published in: PHP
Sends mail
Expand |
Embed | Plain Text
<?php // send the form to the specify email // CONFIG VARS $subject = "Watercolor website | contact form"; $from = $_POST['email']; //data $msg = "NAME: " .$_POST['name'] ."<br>\n"; $msg .= "EMAIL: " .$_POST['email'] ."<br>\n"; $msg .= "WEBSITE: " .$_POST['web'] ."<br>\n"; $msg .= "COMMENTS: " .$_POST['comments'] ."<br>\n"; //Headers $headers = "MIME-Version: 1.0 "; $headers .= "Content-type: text/html; charset=UTF-8 "; $headers .= "From: <".$from. ">" ; //send ?>
You need to login to post a comment.
