Page 1 of 1

New server not sending php mail correctly

Posted: Sun Mar 07, 2010 4:09 am
by gotornot
HI

Heres a tough one.

I have moved servers and on the old server mail that im sending usinh the mail() function is working correctly.
However on the new server it is not!!!

Is this just a php file tweak somewhere or can i use a piece of code in the maill class script that will loop around this problem.

A snippet of the code is:
--PHP-alt-<?php echo $random_hash; ?>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

<?php echo $messageouttext ; ?>

--PHP-alt-<?php echo $random_hash; ?>
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

<?php echo $messageouthtml ; ?>

--PHP-alt-<?php echo $random_hash; ?>--


Any help people????