$sendto = $_POST['email']; // this is the email address collected form the form $ccto = "you@yourdomain.com"; //you can cc it to yourself $subject = "email confirmation"; // Subject $message = "the body of the email - this email is to confirm etc..." $header = "From: auto-confirm@yourdomain.com\r\n"; $header .= "Reply-to: you@yourdomain.com\r\n"; // This is the function to send the email mail($sendto, $subject, $message, $header); // line no... 101
ini_set()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)