Files
file-directory/sendpass.php
2020-07-28 15:36:22 +03:00

13 lines
306 B
PHP

<?php
$to = $_POST['inputEmail'];
$subject = 'the subject';
$message = 'hello';
$headers = array(
'From' => 'no-reply@radner.ru',
'X-Mailer' => 'PHP/' . phpversion()
);
mail($to, $subject, $message, $headers);
header('Location: index.php');
?>