Same code, different servers

Folks,

I have the simplest of php mail scripts, works perfectly fine on my testing server, but exactly the same file, doesn’t work on the clients server. I know other php scripts are working on the server, but not this one. Any ideas why there would be a difference?


<?php
$to = 'myemail@myaddress.com';
$subject = 'email test';
$body = 'this is an email from the testing server';
$headers = 'From: myemail@myaddress.com' . "
";
$headers .= 'Cc: anotheremail@myaddress.com' . "
";
$headers .= 'Reply-To: myemail@myaddress.com' . "
";

mail($to, $subject, $body, $headers);

?>