il problema dovrebbe essere qui
$intest .= "From: xxxx xxx<xxxx@xxxxxx.xxx>\r\n";

prova a commentare la riga