e-mail form
Posted: Thu Dec 18, 2003 12:56 am
Code: Select all
<?php
mail("email", "E-mail Form", $message,
"From: admin@{$_SERVER['SERVER_NAME']}\r\n"
."Reply-To: admin@{$_SERVER['SERVER_NAME']}\r\n"
."X-Mailer: PHP/" . phpversion());
?>
How do I send an e-mail to the person that put their e-mail in a field box?
<input text="email" size="30" maxlength="255">
?>