usa qesto tipo di formattazione per la mail

Codice PHP:
$to      'nobody@example.com';
$subject 'the subject';
$message 'hello';
$headers 'From: [email]webmaster@example.com[/email]' "\r\n" .
    
'Reply-To: [email]webmaster@example.com[/email]' "\r\n" .
    
'X-Mailer: PHP/' phpversion();

mail($to$subject$message$headers); 
http://php.net/manual/en/function.mail.php