$admin_email = "yaptus@yahoo.com"; // mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]] ) $message = $_POST['message']; mail($admin_email, "Message from " . $_POST['firstname'] . " " . $_POST['lastname'], $message, "From: webmaster@{$_SERVER['SERVER_NAME']}\r\n" ."Reply-To: webmaster@{$_SERVER['SERVER_NAME']}\r\n" ."X-Mailer: PHP/" . phpversion()); ?>
![]() |
|
|
|
|