$to="email@email.com";
$subject="Trial";
$msg="This is an trial message Hopefully it works";
$sender="sender@email.com";
if(mail($to,$subject,$msg,"From:$sender"))
{
echo "output=sent";
}
else
{
echo "output=error";
}
?>
Why the site always gives me the "output=error" message
even I've checked the availabilty of the php in the site and the site supports php 100%??
Please I need all the available help
I've checked dozen of codes but with the same error message :( can any body help me
2007-03-30
09:42:17
·
1 answers
·
asked by
CS
1
in
Computers & Internet
➔ Programming & Design
First, thanks for answering my question.
Second, yes I've changed the form's To and From to valid addresses and I've checked them by sending e-mail to those addresses.
I don't know if my server need authentecation but I guess and I'm sure that this option doesn't exist in the server's option.
I really checked many information, many codes and many tutorials but I couldn't accomplish anything
And i don't know the real reason
please guide me and tell me tha answer..
2007-03-30
10:18:15 ·
update #1