Have you tried to use \n
only instead of \r\n
?
http://php.net/manual/en/function.mail.php
Note:
If messages are not received, try using a LF (\n) only. Some Unix mail transfer agents (most notably » qmail) replace LF by CRLF automatically (which leads to doubling CR if CRLF is used). This should be a last resort, as it does not comply with » RFC 2822.
You may use the code below to easy change of end of line in email:
$EEOL = "\n";
$headers = 'From: '.$from . $EEOL;
$headers .= 'MIME-Version: 1.0' . $EEOL;