mirror of
https://github.com/anatolykopyl/file-directory.git
synced 2026-03-26 12:54:30 +00:00
Initial commit
This commit is contained in:
13
sendpass.php
Normal file
13
sendpass.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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');
|
||||
?>
|
||||
Reference in New Issue
Block a user