makemesick wrote:$message = "Full name: {$name}\n" .
"Email: {$email}\n" .
"Address: {$address}";
is that right?
Yes, although you don't need to surround the variables with {}. You only need brackets around arrays within strings. And if you want to make the e-mail look like it was sent from their e-mail address, you need to use headers:
$headers = "From: $name<$email>\r\n";
mail($to, $subject, $message, $headers);
And you don't need to assign every POST variable to another one - you can leave it as-is and reference it through the array:
$message = "Full name: {$_POST['name']}\n" .
"Email: {$_POST['email']}\n" .
"Address: {$_POST['address']}";
(here's where you use brackets {}).
And if you really want to assign the POST variables to another variable, use extract() - it assigns every value in the array to a variable the same name as the key.
So extract($POST) will then create a $name variable with the value of $POST['name'].
Hope this helped!