Jump to content

New server not sending php mail correctly


gotornot

Recommended Posts

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????

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.