If this is what you mean...then here's an example:
<html>
<body>
<form action="post" action="example.php">
Example:<br />
<input type="text" name="example" size="10"><br />
<input type="submit" name="submit" value="Submit">
</form>
</body>
</html>
Now for example.php:
<?php
$example = $_POST['example'];
if ($submit) {
mail("test@test.com", "Example", '$example', "From: [email]someone@test.com[/email]");
?>
<html>
<body>
Thank you for your submission!
<meta http-equiv="refresh" content="2;url=http://www.someplace.com">
</body>
</html>
<?php
}
?>
The meta refresh is optional.