<html> <body> <div id = "container"> <form method = "post" action = "process.php"> <b><h4>To (Enter an Email address)</h4></b><input type = "email" id = "to" name = "to"> <h4>Enter subject</h4> <textarea name = "subject" rows = "1" cols = "80" > </textarea> <h4>Enter the message</h4> <textarea name = "message" rows = "17" cols = "100" > </textarea> <center><input type = "submit" label = "Send"></center> </form> </div> </body> </html>
<?php $to = $_POST['$to']; $subject = $_POST['subject']; $message = $_POST['$message']; mail($to, $subject, $message); echo "Your Email has been sent successfully to" ." ". $to ; ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)