mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-02-16 02:30:51 +00:00
Added button to recommend new algorithm.
This commit is contained in:
21
cgi-bin/sendEmail.php
Normal file
21
cgi-bin/sendEmail.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?
|
||||
/*
|
||||
Sample page
|
||||
*/
|
||||
|
||||
$mymail = "soft_support@list.ru";
|
||||
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
|
||||
$text = "New Algorithm!\n" . $_POST["text"];
|
||||
|
||||
$headers = 'MIME-Version: 1.0' . "\r\n";
|
||||
$headers .= 'Content-type: text/plain; charset=utf-8' . "\r\n";
|
||||
$headers .= "From: support@graphonline.ru \r\n";
|
||||
|
||||
echo ($headers);
|
||||
echo ($text);
|
||||
|
||||
mail($mymail, "New algorithm", $text, $headers);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user