Fonction php mail()

<?php
$subject = "Sujet Mail";
$mailheaders = "MIME-Version: 1.0 \n";
$mailheaders .= "Content-type: text/html; charset=utf-8 \n";
$mailheaders .= "From: adresse_exp@domaine.tld\n";
$mailheaders .="Content-Transfer-Encoding: 8bit \n";
mail("destinataire@mail.com", $subject, $msg, $mailheaders);
?>