Bonjour,
Il existe bien l'option... elle se situe dans les "headers" que tu génères...
Tu peux utiliser cette fonction :
function Envoi_Mail($from,$to,$subject,$msg="") {
// Creation de l'entete du mail a envoyer
// --------------------------------------
$boundary = md5(uniqid(microtime(), TRUE));
$headers = "From: $from\r\n";
$headers .= 'Mime-Version: 1.0'."\r\n";
$headers .= 'Content-Type: multipart/mixed;boundary='.$boundary."\r\n";
$headers .= "\r\n";
// Creation du message a envoyer
// -----------------------------
$message =
'--' . $boundary . "\r\n" .
'Content-type: text/html; charset=ISO-8859-15' . "\r\n\r\n
<html>
<body style='margin:10px 0px 0px 30px;
color:#393989;
font-family:Arial;
font-size:13px;' >
$msg
</body>
</html>\r\n";
if(mail($to, $subject, $message, $headers)){
echo "Mail envoyé";
$result = true;
}else{
$result = false;
echo "<br><b>Erreur ! Mail non envoyé</b>";
echo "<br>headers : ".$headers;
echo "<br>to: ".$to;
echo "<br>subject: ".$subject;
echo "<br><b>Message:</b><br>".$message;
}
return $result;
}