PHP form mailer problems

i just added a mail for on my site, http://profile.slickeye.com. its still rough and not public yet but i cant get my mailer to work. heres my php

<?php

$sendTo = "mail@slickeye.com";
$subject = “Profile Email”;

$headers = “From: " . $_POST[“name”];
$headers .= “<” . $_POST[“email”] .”>
";

$headers .= "Reply-To: " . $_POST[“email”];

$message = $_POST[“comments”];
$aim = $_POST[“aim”];
$phone = $_POSR[“phone”];

mail($sendTo, $subject, $comments, $headers);
?>

any help boys??

whats your flash code?

Ok, first fix $_POSR[phone] to $_POST…

next:
do you have the mail() function enabled on your server?
what happens if you upload this to your site, and you open the page?


<?php
mail("YOUR@EMAIL.HERE","test","Ok, it works"); 
?>

Lastly:
What happens if you do this?


<?php

$sendTo = "mail@slickeye.com";
$subject = "Profile Email";

$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] .">
";

$headers .= "Reply-To: " . $_POST["email"];

$message = $_POST["comments"];
$aim = $_POST["aim"];
$phone = $_POST["phone"];

print $_POST["phone"];
print $_POST["aim"];
print $_POST["email"];
print $_POST["name"];

//mail($sendTo, $subject, $comments, $headers);
?>

give those a shot, and post back here if none of them work.

don’t worry you’re not the only one with thos problems :stuck_out_tongue:
I still had the problem this morning