hi
I have an email option is site but i donno whether im doing sometg wrong
the problems im facing is as follows
- my website for ex: [COLOR=“Magenta”]http://www.abc.com[/COLOR] has the contact form option. when i type in the address bar [COLOR=“Magenta”]abc.com[/COLOR] it works, but when i type [COLOR=“Magenta”]www.abc.com[/COLOR] and then try to send mail it doesnt work.
i tried it in different browsers like google chrome, firefox, explorer
the php is as follows:
<?php
$sendTo = "abc@abc.com";
$subject = "Hello how are you";
$message = $_GET['message'];
$email = $_GET['email'];
$name = $_GET['name'];
//send mail
$headers = "From: $email
";
//$headers .= ‘MIME-Version: 1.0’ . "
";
//$headers .= ‘Content-type: text/html; charset=iso-8859-1’ . "
";
$msg = " “.$message.” ";
mail($sendTo, $subject, $msg, $headers);
echo “status=formOk”;
?>
- my second problem is with formatting ie when i recv it, the words are all mixed up like when i type sometg then hit enter to go to next line. it gets all mixed up.
for example: - how are you
helllo my boy
will look like : how are youhello my boy
could anyone pls hellp me
im really stuck and i need this to finish my project
im using godaddy for my hosting (uses php ver 5.0)
thx and ur help will be highly appreciated