26 lines
537 B
PHP
26 lines
537 B
PHP
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Andrej</title>
|
|
</head>
|
|
<body>
|
|
<?php //mail("andrej.golis@gmail.com", "Test Of Bateworld Mail", "No message", ); ?>
|
|
|
|
<?php
|
|
|
|
$to = 'andrej.golis@gmail.com';
|
|
$subject = 'Test Of Bateworld Mail';
|
|
$message = 'No message';
|
|
$headers = 'From: bateworld@bateworld.com' . "\r\n" .
|
|
'Reply-To: bateworld@bateworld.com' . "\r\n" .
|
|
'X-Mailer: PHP/' . phpversion();
|
|
$aparams = '-fbateworld@bateworld.com';
|
|
|
|
mail($to, $subject, $message, $headers, $aparams);
|
|
|
|
?>
|
|
|
|
</body>
|
|
</html>
|