Hello, I tried to make a form with the following script <form action="contact.php" mehod="post"> <table width="75%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"> <h5> <p><label for="name">Name </label></p> </h5> <p><label for="name"> <input name="name" id="name" /> </label></p> <input type="submit" name="submit"> </form> PHP: Then I have another script that something like : <?PHP $name=$_REQUEST['name']; $adress=$_REQUEST['adress']; $mail=$_REQUEST['mail']; $msg=$_REQUEST['msg']; #trimite mail-ul mail($to,$re,$msg); $to = "mail"; $re = "subject"; $msg = "Nume: $nume\n Subiect: $subject\n Email: $mail\n Comentarii: $mesaj\n\n IP : $REMOTE_ADDR"; ?> PHP: I doesn't seem to work , do you have another ideea about another script ?
Put the line "mail($to,$re,$msg);" at the end. and please provide valid email to the "$to" variable. Also please see that the variable that u use are valid or defined.