simple asp version of php mail
simple asp version of php mail
- Started
- Last post
- 2 Responses
- felizfeliz
can anybody help me rewrite this php file to an asp.net file? i don't know anything about asp.
it's really simple - flash sends it some varialbes and then it sends an email.
Hopefully the php code will show below:
<?php $sendTo = $_POST["email_to"]; $subject = $_POST["email_subject"]; $headers = "From: " . "<" . $_POST["email_from"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email_from"] . "\r\n";
$headers .= "Return-path: " . $_POST["email_from"];
$message = $_POST["email_message"];
mail($sendTo, $subject, $message, $headers);
?>thank you thank you,
graham
- felizfeliz0
cool thanks, i tried googling it, my problem is i have no means to test it. so it would be great if someone could give me a tested working version of the above code. cheers, graham.