$to = "admin@email.com"; $headers = "From: orders@email.com"; $subject = "Order from " . - $_POST['Name']; $name_field = $_POST['Name']; $surname_field = $_POST['Surname']; $tel_field = $_POST['Tel']; $info_field = $_POST['Info']; $address_field = $_POST['Address']; $inc = include( 'inc.php' ); $body = "From: $name_field\n $surname_field\n Email: $email_field\n Tel: $tel_field\n Information:\n $info_field Products:\n $inc;"; $thanks = "Thank you for using our online order system! We are processing your order and will get back to you soon!"; echo "<br>"; echo "<br>"; echo "Order has been submitted"; echo "<br>"; echo "<br>"; mail($to, $subject, $body, $headers); mail($email_field, $subject, $thanks, $headers); echo $inc;