I have a form and I want a confirmation email sent after the user submits form. I want to display everything from form to there email with also a message. Here is my code.
[php]
// Subject of confirmation email.
$conf_subject = ‘Your recent order’;
// Who should the confirmation email be from?
$conf_sender = ‘My Business <no-reply@no reply.com>’;
$msg = $_POST[‘Name’] . “,\n\nThank you for your interest, Here is confirmation”;
mail( $_POST[‘Email’], $conf_subject, $msg, 'From: ’ . $conf_sender );
$msg = $_POST[‘Address’];
$msg = $_POST[‘City’];
$msg = $_POST[‘State’];
$msg = $_POST[‘Country’];
$msg = $_POST[‘Zip Code’];
$msg = $_POST[‘Phone’];
[/php]