lo solucioné!
sustituyendo esto:
Código PHP:
$headers = "From: $from\r\n" .
"MIME-Version: 1.0\r\n" .
"Content-Type: multipart/mixed;\r\n" .
" boundary=\"{$mime_boundary}\"";
por esto:
Código PHP:
$headers = "From: $to\n" .
"MIME-Version: 1.0\n" .
"Content-Type: multipart/mixed;\n" .
" boundary=\"{$mime_boundary}\"";
es decir, quitando los:
\r
vaya tontería, pero llevo toda la mañana con esto!