Hi ddnk,
i hope this will help u.
<form method="post" action="sendmail.php">
Fist name :<input type="text" name="fname"/>
Last name :<input type="text" name="lname"/>
Email : <input type="text" name="email"/>
Address : <input type="text" name="address"/>
<input type="submit" value="SUBMIT"/>
</form>
sendmail.php
-------------
$subject="test";//user subject
$to = '
[email protected]' . ', '.'
[email protected]'; // note the comma
$fname=$_POST[fname];
$lname=$_POST[lname];
$address=$_POST[address];
$from=$_POST[email]; //$user->email;
$message = <<<MESSAGE
<html>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="18%" valign="top"> FIRST NAME : </td>
<td width="82%">$fname</td>
</tr>
<tr>
<td width="18%" valign="top"> LAST NAME : </td>
<td width="82%">$lname</td>
</tr>
<tr>
<td valign="top">EMAIL : </td>
<td>$from</td>
</tr>
<tr>
<td valign="top">ADDRESS : </td>
<td>$address</td>
</tr>
</table>
</body>
</html>
MESSAGE;
$mail_mime .= "MIME-Version: 1.0\n";
$mail_mime .= "Content-Type: text/html;\n";
$mail_mime .= "Message-ID: <".md5($to)."@$_SERVER[SERVER_NAME]>\n";
mail($to,$subject,$message,"Reply-to: $from\nFrom: $from\n".$mail_mime);
echo "The mail was sent!";
i hope this help u... plz let me know if this is what u want....