[[b]size=2][font=Courier New][/size][!--coloro:#000000--][span style=\"color:#000000\"][!--/coloro--] Thnx ken for ur care anyway the code is a very simple script but all i want to try the sending of the email to any mail box anyway the script is as following :[/b] [!--colorc--][/span][!--/colorc--][!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--] <? switch ($fn){ default: ?> <form name="form1" method="post" action="testing.php"> <p>YOUR NAME : <input name="name" type="text" id="name"> </p> <p>YOUR E_MAIL : <input name="email" type="text" id="email"> </p> <p align="left">COMMENTS : <textarea name="comment" id="comment"></textarea> </p> <p align="left"> <div align="center"> <input name="fn" type="hidden" id="fn" value="<? echo "add"; ?>"> <input type="submit" name="Submit" value="Submit"></div> </p> </form> <? break; case "add": $to="karapantass@hotmail.com"; $email="3shams.com"; $message="$name sent you a comment on your site.\n They said $comment\n\n their e-mail address was: $email"; mail($to,"comments from your site",$message,"from:$email\n"); if (mail) { echo "Thanks for your comments , That's the only way we can improve our site"; } else { echo "there was a problem sending your comment.please check that you filled in the form correctly."; } break; } ?> [b][!--colorc--][/span][!--/colorc--][color=#009900] Thnx man again for ur care[/b]