Forums

ASP

This topic is locked

PHP to ASP translation

Posted 01 Oct 2008 20:20:51
1
has voted
01 Oct 2008 20:20:51 Jim Mitchell posted:
How do I translate this into ASP please?

<?php
$sendTo = " ";
$subject = "GSS SUPERFLOOR website enquiry";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$message = "name: " . $_POST["name"] . "\r";
$message .= "email: " . $_POST["email"] . "\r";
$message .= "tel: " . $_POST["tel"] . "\r";
$message .= "add: " . $_POST["add"] . "\r";
$message .= "required: " . $_POST["req"];
mail($sendTo, $subject, $message, $headers);
?>


I hold my hands up to being a needy clueless numpty but if someone out there could take pity on me I would be oh so grateful.


Many Thanks,


Jimbob

Reply to this topic