PHP Send mail with headers

Send mail with custom headers

<?php
$to = 'mail1@test.com';
$subject = 'No Reply';
$message = 'Test';
$headers = "From: Domain.com <no-reply@domain.com>\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSmail-Priority: Normal\n";
$headers .= "X-mailer: PHP\n";
$headers .= "X-Sender: www.domain.com\r\n";
$headers .= "Content-Type: text/html; charset=windows-1251\r\n";

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