PHP Відправити на Email

2075 / PHP / Відправити на Email

 

<?php

$to = 'nobody@example.com';
$subject = 'Тема';
$message = 'hello';
$headers = 'From: webmaster@example.com' . "\r\n" .
'Reply-To: webmaster@example.com';

mail($to, $subject, $message, $headers);

?>